Commit Graph

223560 Commits

Author SHA1 Message Date
talyz 2ba7926959
php.buildEnv: Provide a list of currently enabled extensions
Rework withExtensions / buildEnv to handle currently enabled
extensions better and make them compatible with override. They now
accept a function with the named arguments enabled and all, where
enabled is a list of currently enabled extensions and all is the set
of all extensions. This gives us several nice properties:

 - You always get the right version of the list of currently enabled
   extensions

 - Invocations chain

 - It works well with overridden PHP packages - you always get the
   correct versions of extensions

As a contrived example of what's possible, you can add ImageMagick,
then override the version and disable fpm, then disable cgi, and
lastly remove the zip extension like this:

{ pkgs ? (import <nixpkgs>) {} }:
with pkgs;

let
  phpWithImagick = php74.withExtensions ({ all, enabled }: enabled ++ [ all.imagick ]);

  phpWithImagickWithoutFpm743 = phpWithImagick.override {
    version = "7.4.3";
    sha256 = "wVF7pJV4+y3MZMc6Ptx21PxQfEp6xjmYFYTMfTtMbRQ=";
    fpmSupport = false;
  };

  phpWithImagickWithoutFpmZip743 = phpWithImagickWithoutFpm743.withExtensions (
    { enabled, all }:
      lib.filter (e: e != all.zip) enabled);

  phpWithImagickWithoutFpmZipCgi743 = phpWithImagickWithoutFpmZip743.override {
    cgiSupport = false;
  };
in
  phpWithImagickWithoutFpmZipCgi743
2020-04-26 16:43:05 +02:00
Frederik Rietdijk ca2fd28d83 Revert "docs/python: document builders using doInstallCheck and not doCheck (#86051)"
For disabling tests when overriding, use `.overridePythonAttrs`.

Discussion about aliasing `.overridePythonAttrs` to `.overrideAttrs`.
https://github.com/NixOS/nixpkgs/pull/82772

This reverts commit 35812875a4.
2020-04-26 16:22:33 +02:00
Graham Christensen fadb044579
Merge pull request #86059 from AmineChikhaoui/20.03-amis
ec2-amis.nix: add NixOS 20.03 images
2020-04-26 10:01:56 -04:00
AmineChikhaoui 9cf9e66e6f
ec2-amis.nix: add NixOS 20.03 images
Fixes #85857.
2020-04-26 09:54:10 -04:00
Vincent Laporte ef964a801e
coqPackages.coqhammer: 1.1.1 → 1.2
Add support for Coq 8.11
2020-04-26 15:51:20 +02:00
Aaron Andersen 6b3506458e tomcat-native: init at 1.2.23 2020-04-26 09:12:41 -04:00
Maxine Aubrey 5e4abf76c7
yaru-theme: 20.04.1 -> 20.04.6 (#86019) 2020-04-26 12:13:22 +00:00
davidak 579e56fb9e
Update commit policy for stable release branches (#86026)
only very few people followed the strict policy in the last 5 years. the 
maintainers accept backports without reason when it's obvious, so i 
updated the policy to reflect that
2020-04-26 12:12:55 +00:00
Nikolay Korotkiy 73f3469c76
azpainter: 2.1.5 -> 2.1.6 (#86028) 2020-04-26 12:11:09 +00:00
Nikolay Korotkiy f56459f7ec
gpxsee: 7.28 -> 7.29 (#86050) 2020-04-26 11:53:44 +00:00
Doron Behar 35812875a4
docs/python: document builders using doInstallCheck and not doCheck (#86051) 2020-04-26 11:53:06 +00:00
Jaakko Luttinen 9d7f94a3f0
rofi-file-browser: init at 1.1.1 (#86052)
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2020-04-26 11:51:34 +00:00
zimbatm 018aadcfa1
terraform-providers.vpsadmin: init at 0.1.0 2020-04-26 13:35:16 +02:00
zimbatm 442f76893c
terraform-providers.sops: init at 0.5.0 2020-04-26 13:21:15 +02:00
Benjamin Andresen f6ee88f41e babashka: increase java heap space max to 4500
3g has very long build times and also doesn't build 100% of the time
it's also the new default since:
7fc33dcb21
2020-04-26 13:17:52 +02:00
zimbatm 20f55a9fc0
terraform-providers.ibm: move to update-all script 2020-04-26 13:07:04 +02:00
zimbatm bb858898b1
terraform-providers: update-all 2020-04-26 12:56:28 +02:00
José Romildo Malaquias 47cc163dfc
Merge pull request #85671 from romildo/upd.yaru-theme
yaru-theme: 20.04.1 -> 20.04.6, unmark as broken
2020-04-26 07:29:07 -03:00
Jörg Thalheim ef959a1d9b
Merge pull request #85984 from Mic92/wireguard 2020-04-26 11:28:55 +01:00
Vladyslav M 2cd8c35c1f
Merge pull request #86031 from marsam/update-bat 2020-04-26 11:48:54 +03:00
Colin 3e0aa4af2d
Get rid of go 1.13 (#86036)
Kubernetes builds with go1.14.
Terraform has an upstream patch which fixes the macos mojave issues -
it's a bug in terraform, not go.
2020-04-26 08:37:59 +00:00
rizary 7c399a4ee0 nixpkgs-fmt: 0.7.0 -> 0.8.0 2020-04-25 22:57:02 -07:00
Dmitry Kalinkin f0da3b5e94
Merge pull request #85952 from LnL7/darwin-lapack
lapack: fix darwin library identifiers
2020-04-26 00:39:26 -04:00
zowoq 7a40eb5763 docker-machine: use installShellFiles 2020-04-26 13:36:15 +10:00
zowoq c1facd193e buildGoPackage: remove inactive maintainer 2020-04-26 12:42:58 +10:00
Jan Tojnar 4bcf123f61
Merge pull request #85690 from LouisTakePILLz/obs-v4l2sink 2020-04-26 04:11:18 +02:00
Janne Heß bc2a4b341a
nixos/nsswitch: Make databases more configurable
Instead of hardcoding all nss modules that are added into nsswitch,
there are now options exposed.
This allows users to add own nss modules (I had this issue with
winbindd, for example).
Also, nss modules could be moved to their NixOS modules which would
make the nsswitch module slimmer.

As the lists are now handled by the modules system, we can use mkOrder
to ensure a proper order as well as mkForce to override one specific
database type instead of the entire file.
2020-04-26 03:16:57 +02:00
Aaron Andersen 16ab83760f
Merge pull request #85043 from aanderse/httpd-2020
nixos/httpd: modernize module standards
2020-04-25 20:04:05 -04:00
Benjamin Hipple a96dc47dd8
Merge pull request #86016 from marsam/update-cloud-nuke
cloud-nuke: 0.1.7 -> 0.1.18
2020-04-25 19:59:42 -04:00
Benjamin Hipple e005a48799
Merge pull request #86014 from marsam/update-awsweeper
awsweeper: 0.6.0 -> 0.7.0
2020-04-25 19:57:46 -04:00
Michael Weiss 4f17832abf
msmtp: 1.8.8 -> 1.8.10 (#86027)
This update contains the full fix for the unfortunate and very annoying
msmtpq regression [0]. #YAY
This successfully reduces the amount of spam my setup generates :)
(Note: SCNR)

Relevant patches:
- c78f24347e
- dfb39595a5

[0]: https://marlam.de/msmtp/news/
2020-04-26 01:08:31 +02:00
peelz f2211de99e obs-v4l2sink: fix v4l2device_close segfault 2020-04-25 18:35:18 -04:00
peelz a576482e4c obs-v4l2sink: add 32-bit support
The rev was downgraded to the latest released version (0.1.0) because the
the changes on master are mostly related to localization and README
stuff. The only code-related change is insignificant.
2020-04-25 18:35:18 -04:00
Graham Christensen a2e9965d74
Merge pull request #82414 from AmineChikhaoui/update-ec2-amis-19-09
ec2 amis: update 19.09 AMIs
2020-04-25 18:15:41 -04:00
Florian Klink 02b57e72bb
Merge pull request #86010 from flokli/nscd-disable
nixos/nscd: be more specific in the nscd.enable description on what breaks
2020-04-26 00:05:25 +02:00
Silvan Mosberger a89b773984
lib/tests: Allow overriding pkgs independent of lib being tested 2020-04-25 23:40:20 +02:00
Daniel Fullmer d13a19cfba
snes9x-gtk: 1.57 -> 1.60 (#85910) 2020-04-25 16:10:38 -04:00
Doron Behar 716c07c73c qstopmotion: mark as broken for aarch64 2020-04-25 23:04:18 +03:00
Frederik Rietdijk 57cfb787ef Merge staging into staging-next 2020-04-25 21:53:27 +02:00
Michael Weiss c5e8985fd7
androidStudioPackages.beta: 4.0.0.13 -> 4.0.0.14 2020-04-25 21:38:54 +02:00
Michael Weiss 170c2b1954
androidStudioPackages.{dev,canary}: 4.1.0.6 -> 4.1.0.7 2020-04-25 21:38:53 +02:00
Benjamin Hipple ef4a5456a4
Merge pull request #85981 from renatoGarcia/asttokens
asttokens: 1.1.13 -> 2.0.4
2020-04-25 15:35:08 -04:00
Benjamin Hipple d761d9ce47
Merge pull request #85988 from bbigras/httplz
httplz: 1.8.0 -> 1.9.2
2020-04-25 15:34:52 -04:00
Benjamin Hipple 2dd156b75a
Merge pull request #86018 from marsam/update-tflint
tflint: 0.15.4 -> 0.15.5
2020-04-25 15:28:26 -04:00
Benjamin Hipple 86283d9da7
Merge pull request #85977 from bhipple/cleanup/aspell
aspell, tla: use pname
2020-04-25 15:24:56 -04:00
worldofpeace 7280b5eef9
Merge pull request #85886 from primeos/libva
libva: 2.6.1 -> 2.7.1
2020-04-25 14:49:50 -04:00
Frederik Rietdijk 89a34c1cce Merge master into staging-next 2020-04-25 20:30:04 +02:00
Maximilian Bosch a4347f2b92
wireguard: reference missing `nixosTests.wireguard` 2020-04-25 20:22:14 +02:00
Doron Behar f0b1ace473 qstopmotion: use libsForQt5.callPackage properly 2020-04-25 21:18:23 +03:00
Doron Behar 59588b68cd guvcview: use libsForQt5.callPackage 2020-04-25 21:14:40 +03:00