nixUnstable: 1.12pre5873_b76e282d -> 2.0pre5889_c287d731
This commit is contained in:
parent
ef351646ba
commit
75a20284f4
pkgs/tools/package-management/nix
|
@ -26,7 +26,7 @@ let
|
||||||
inherit name src;
|
inherit name src;
|
||||||
version = lib.getVersion name;
|
version = lib.getVersion name;
|
||||||
|
|
||||||
is112 = lib.versionAtLeast version "1.12pre";
|
is20 = lib.versionAtLeast version "2.0pre";
|
||||||
|
|
||||||
VERSION_SUFFIX = lib.optionalString fromGit suffix;
|
VERSION_SUFFIX = lib.optionalString fromGit suffix;
|
||||||
|
|
||||||
|
@ -34,14 +34,14 @@ let
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[ pkgconfig ]
|
[ pkgconfig ]
|
||||||
++ lib.optionals (!is112) [ perl ]
|
++ lib.optionals (!is20) [ perl ]
|
||||||
++ lib.optionals fromGit [ autoreconfHook autoconf-archive bison flex libxml2 libxslt docbook5 docbook5_xsl ];
|
++ lib.optionals fromGit [ autoreconfHook autoconf-archive bison flex libxml2 libxslt docbook5 docbook5_xsl ];
|
||||||
|
|
||||||
buildInputs = [ curl openssl sqlite xz ]
|
buildInputs = [ curl openssl sqlite xz ]
|
||||||
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
|
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
|
||||||
++ lib.optionals fromGit [ brotli ] # Since 1.12
|
++ lib.optionals fromGit [ brotli ] # Since 1.12
|
||||||
++ lib.optional stdenv.isLinux libseccomp
|
++ lib.optional stdenv.isLinux libseccomp
|
||||||
++ lib.optional ((stdenv.isLinux || stdenv.isDarwin) && is112)
|
++ lib.optional ((stdenv.isLinux || stdenv.isDarwin) && is20)
|
||||||
(aws-sdk-cpp.override {
|
(aws-sdk-cpp.override {
|
||||||
apis = ["s3"];
|
apis = ["s3"];
|
||||||
customMemoryManagement = false;
|
customMemoryManagement = false;
|
||||||
|
@ -65,11 +65,11 @@ let
|
||||||
"--disable-init-state"
|
"--disable-init-state"
|
||||||
"--enable-gc"
|
"--enable-gc"
|
||||||
]
|
]
|
||||||
++ lib.optionals (!is112) [
|
++ lib.optionals (!is20) [
|
||||||
"--with-dbi=${perlPackages.DBI}/${perl.libPrefix}"
|
"--with-dbi=${perlPackages.DBI}/${perl.libPrefix}"
|
||||||
"--with-dbd-sqlite=${perlPackages.DBDSQLite}/${perl.libPrefix}"
|
"--with-dbd-sqlite=${perlPackages.DBDSQLite}/${perl.libPrefix}"
|
||||||
"--with-www-curl=${perlPackages.WWWCurl}/${perl.libPrefix}"
|
"--with-www-curl=${perlPackages.WWWCurl}/${perl.libPrefix}"
|
||||||
] ++ lib.optionals (is112 && stdenv.isLinux) [
|
] ++ lib.optionals (is20 && stdenv.isLinux) [
|
||||||
"--with-sandbox-shell=${sh}/bin/busybox"
|
"--with-sandbox-shell=${sh}/bin/busybox"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -160,13 +160,13 @@ in rec {
|
||||||
}) // { perl-bindings = nixStable; };
|
}) // { perl-bindings = nixStable; };
|
||||||
|
|
||||||
nixUnstable = (lib.lowPrio (common rec {
|
nixUnstable = (lib.lowPrio (common rec {
|
||||||
name = "nix-1.12${suffix}";
|
name = "nix-2.0${suffix}";
|
||||||
suffix = "pre5873_b76e282d";
|
suffix = "pre5889_c287d731";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
repo = "nix";
|
repo = "nix";
|
||||||
rev = "b76e282da8824b679368370e43c994e588994a9a";
|
rev = "c287d7312103bae5e154c0c4dd493371a22ea207";
|
||||||
sha256 = "11clfc8fh8q8s3k4canmn36xhh3zcl2zd8wwddp4pdvdal16b5n6";
|
sha256 = "1dwhz93dlk62prh3wfwf8vxfcqjdn21wk0ms65kf5r8ahkfgpgq4";
|
||||||
};
|
};
|
||||||
fromGit = true;
|
fromGit = true;
|
||||||
})) // { perl-bindings = perl-bindings { nix = nixUnstable; }; };
|
})) // { perl-bindings = perl-bindings { nix = nixUnstable; }; };
|
||||||
|
|
Loading…
Reference in New Issue