partition-all-cabal-hashes: cross-compile safe
This commit is contained in:
parent
843e0992ca
commit
3ef3fc43a2
@ -19,7 +19,8 @@ let partition-all-cabal-hashes = stdenv.mkDerivation
|
|||||||
{ name = "partition-all-cabal-hashes";
|
{ name = "partition-all-cabal-hashes";
|
||||||
src = ./partition-all-cabal-hashes.c;
|
src = ./partition-all-cabal-hashes.c;
|
||||||
unpackPhase = "true";
|
unpackPhase = "true";
|
||||||
buildInputs = [ pkgconfig libarchive glib ];
|
buildInputs = [ libarchive glib ];
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildPhase =
|
buildPhase =
|
||||||
"cc -O3 $(pkg-config --cflags --libs libarchive glib-2.0) $src -o partition-all-cabal-hashes";
|
"cc -O3 $(pkg-config --cflags --libs libarchive glib-2.0) $src -o partition-all-cabal-hashes";
|
||||||
installPhase =
|
installPhase =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user