forked from mirrors/nixpkgs
Merge pull request #44835 from Infinisil/fix/syscall_limiter
syscall_limiter: fix build
This commit is contained in:
commit
d64073c770
|
@ -7,7 +7,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "syscall_limiter-${version}";
|
||||
version = "20170123";
|
||||
version = "2017-01-23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vi";
|
||||
|
@ -16,11 +16,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0z5arj1kq1xczgrbw1b8m9kicbv3vs9bd32wvgfr4r6ndingsp5m";
|
||||
};
|
||||
|
||||
configurePhase = "";
|
||||
|
||||
buildPhase = ''
|
||||
make CC="gcc -I${libseccomp}/include -L${libseccomp}/lib"
|
||||
'';
|
||||
buildInputs = [ libseccomp ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
Loading…
Reference in a new issue