syscall_limiter: fix build

Originally broken through using multiple outputs for libseccomp in
8d490ca9934d0c01e1e9ade455657e54e2e843c0
This commit is contained in:
Silvan Mosberger 2018-08-09 21:44:00 +02:00
parent a984be41ab
commit fdbc1aee39
No known key found for this signature in database
GPG Key ID: 9424360B4B85C9E7

View File

@ -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