summary refs log tree commit diff
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2019-08-31 15:56:10 +0000
committeredef <edef@edef.eu>2019-08-31 15:58:05 +0000
commitcbbe9f0f211a7c96e7daa7a6e9242b46f841fff2 (patch)
tree479de7886fe4c259d4cc4dc7c8d5d223cf4dc7e2
parent4727a40be9d0cf2ef4ea5b52f1004fa4e2acb4bd (diff)
downloadnixpkgs-cbbe9f0f211a7c96e7daa7a6e9242b46f841fff2.tar
nixpkgs-cbbe9f0f211a7c96e7daa7a6e9242b46f841fff2.tar.gz
nixpkgs-cbbe9f0f211a7c96e7daa7a6e9242b46f841fff2.tar.bz2
nixpkgs-cbbe9f0f211a7c96e7daa7a6e9242b46f841fff2.tar.lz
nixpkgs-cbbe9f0f211a7c96e7daa7a6e9242b46f841fff2.tar.xz
nixpkgs-cbbe9f0f211a7c96e7daa7a6e9242b46f841fff2.tar.zst
nixpkgs-cbbe9f0f211a7c96e7daa7a6e9242b46f841fff2.zip
patchutils: add perl to buildInputs
This was silently producing perl scripts with empty shebang lines,
breaking a bunch of the binaries.
-rw-r--r--pkgs/tools/text/patchutils/generic.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/text/patchutils/generic.nix b/pkgs/tools/text/patchutils/generic.nix
index 87d925e333f..9d7ac4b53f0 100644
--- a/pkgs/tools/text/patchutils/generic.nix
+++ b/pkgs/tools/text/patchutils/generic.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl
+{ stdenv, fetchurl, perl
 , version, sha256, patches ? []
 , ...
 }:
@@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
     inherit sha256;
   };
 
+  buildInputs = [ perl ];
   hardeningDisable = [ "format" ];
 
   doCheck = false; # fails