mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
crunch: fix cross
This commit is contained in:
parent
3c935c73e0
commit
1c679b809d
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0mgy6ghjvzr26yrhj1bn73qzw6v9qsniskc5wqq1kk0hfhy6r3va";
|
||||
};
|
||||
|
||||
buildInputs = [ which ];
|
||||
nativeBuildInputs = [ which ];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace Makefile \
|
||||
@ -18,7 +18,10 @@ stdenv.mkDerivation rec {
|
||||
--replace 'sudo ' ""
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
makeFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"PREFIX=$(out)"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wordlist generator";
|
||||
|
Loading…
Reference in New Issue
Block a user