diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2021-12-27 12:09:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-27 12:09:05 +0000 |
commit | 750e61beb55fc51fa1cb2a5551a7d723fd109e72 (patch) | |
tree | fff10be0382963c094775260af5ff15ca87693e8 /pkgs/tools | |
parent | 313619a32cc191fbfa9ada4dbe9ed9b3e39e11e8 (diff) | |
parent | 5f6a771d30bde115672b75552f0c2f0d1c80b0a5 (diff) |
Merge pull request #151295 from Mic92/cross-compile-fixes
{pipewire,replace}: fix cross compile
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/text/replace/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/text/replace/default.nix b/pkgs/tools/text/replace/default.nix index a0873d1c8d2b..058c2ba3daa5 100644 --- a/pkgs/tools/text/replace/default.nix +++ b/pkgs/tools/text/replace/default.nix @@ -11,7 +11,11 @@ stdenv.mkDerivation rec { outputs = [ "out" "man" ]; - makeFlags = [ "TREE=\$(out)" "MANTREE=\$(TREE)/share/man" ]; + makeFlags = [ + "TREE=\$(out)" + "MANTREE=\$(TREE)/share/man" + "CC=${stdenv.cc.targetPrefix}cc" + ]; preBuild = '' sed -e "s@/bin/mv@$(type -P mv)@" -i replace.h |