libseccomp: attempt to fix Hydra build
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
acd5a9d8b4
commit
036a7708a2
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, getopt }:
|
{ stdenv, fetchurl, getopt, bash }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libseccomp-${version}";
|
name = "libseccomp-${version}";
|
||||||
@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
# for talking to the seccomp filter - we opt to always use the
|
# for talking to the seccomp filter - we opt to always use the
|
||||||
# inline copy
|
# inline copy
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
substituteInPlace ./configure --replace "/bin/bash" "${bash}/bin/bash"
|
||||||
substituteInPlace ./configure --replace "verify_deps getopt" ""
|
substituteInPlace ./configure --replace "verify_deps getopt" ""
|
||||||
substituteInPlace ./configure --replace getopt ${getopt}/bin/getopt
|
substituteInPlace ./configure --replace getopt ${getopt}/bin/getopt
|
||||||
substituteInPlace ./configure --replace 'opt_sysinc_seccomp="yes"' 'opt_sysinc_seccomp="no"'
|
substituteInPlace ./configure --replace 'opt_sysinc_seccomp="yes"' 'opt_sysinc_seccomp="no"'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user