[Nix-dev] [***SPAM***] re2c fix build
The attached patch fixes the build of the re2c Nixpkgs expression by adjusting the sourceRoot to account for the unpackFile treatment of a directory. >From 39acc883cca970653b7b2fa5ed1c4630b11a1e9d Mon Sep 17 00:00:00 2001 From: Karn KallioDate: Sat, 8 Jul 2017 21:32:17 -0400 Subject: [PATCH] re2c : Fix build by adjusting sourceRoot. --- pkgs/development/tools/parsing/re2c/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/parsing/re2c/default.nix b/pkgs/development/tools/parsing/re2c/default.nix index a70afe5117..6d74656d61 100644 --- a/pkgs/development/tools/parsing/re2c/default.nix +++ b/pkgs/development/tools/parsing/re2c/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation rec { name = "re2c-${version}"; version = "0.16"; - sourceRoot = "${name}-src/re2c"; + sourceRoot = "re2c/re2c"; src = fetchFromGitHub { owner = "skvadrik"; -- 2.13.2 ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [***SPAM***] unzipNLS
The unzip Nixpkgs expression does not build with the NLS attribute selected because the patch conditionally applied conflicts with the earlier patch [dont-hardcode-cc.patch]. The attached patch fixes the build by increasing the patch fuzz to the size of the context. >From 67ebd468d2780affe665308151607d00a3766d50 Mon Sep 17 00:00:00 2001 From: Karn KallioDate: Sat, 8 Jul 2017 21:58:43 -0400 Subject: [PATCH] unzipNLS : Fix build by removing patch fuzz. --- pkgs/tools/archivers/unzip/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/archivers/unzip/default.nix b/pkgs/tools/archivers/unzip/default.nix index 896cdd5097..a35e473ec3 100644 --- a/pkgs/tools/archivers/unzip/default.nix +++ b/pkgs/tools/archivers/unzip/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation { hardeningDisable = [ "format" ]; + patchFlags = "-p1 -F3"; + patches = [ ./CVE-2014-8139.diff ./CVE-2014-8140.diff -- 2.13.2 ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev