summary refs log tree commit diff
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-04-11 21:37:19 -0500
committerAustin Seipp <aseipp@pobox.com>2014-04-11 21:37:19 -0500
commit036a7708a203e420cfc279bbdeef554f5e475891 (patch)
tree847071f11dee7ab9d8b8ff6f5b73715035c0d40f
parentacd5a9d8b4946634127705f96d141062e0a234c8 (diff)
downloadnixlib-036a7708a203e420cfc279bbdeef554f5e475891.tar
nixlib-036a7708a203e420cfc279bbdeef554f5e475891.tar.gz
nixlib-036a7708a203e420cfc279bbdeef554f5e475891.tar.bz2
nixlib-036a7708a203e420cfc279bbdeef554f5e475891.tar.lz
nixlib-036a7708a203e420cfc279bbdeef554f5e475891.tar.xz
nixlib-036a7708a203e420cfc279bbdeef554f5e475891.tar.zst
nixlib-036a7708a203e420cfc279bbdeef554f5e475891.zip
libseccomp: attempt to fix Hydra build
Signed-off-by: Austin Seipp <aseipp@pobox.com>
-rw-r--r--pkgs/development/libraries/libseccomp/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libseccomp/default.nix b/pkgs/development/libraries/libseccomp/default.nix
index 32ac480c1f83..a66d31d2ec44 100644
--- a/pkgs/development/libraries/libseccomp/default.nix
+++ b/pkgs/development/libraries/libseccomp/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, getopt }:
+{ stdenv, fetchurl, getopt, bash }:
 
 stdenv.mkDerivation rec {
   name    = "libseccomp-${version}";
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
   # for talking to the seccomp filter - we opt to always use the
   # inline copy
   patchPhase = ''
+    substituteInPlace ./configure --replace "/bin/bash" "${bash}/bin/bash"
     substituteInPlace ./configure --replace "verify_deps getopt" ""
     substituteInPlace ./configure --replace getopt ${getopt}/bin/getopt
     substituteInPlace ./configure --replace 'opt_sysinc_seccomp="yes"' 'opt_sysinc_seccomp="no"'