about summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-09-05 18:00:57 +0000
committerGitHub <noreply@github.com>2021-09-05 18:00:57 +0000
commit75dc00dbd8891690fd44da53d73d562130ac5022 (patch)
treefa25944a1ea8a5b019fcc5969c91041e30c713ef /pkgs/tools/filesystems
parent03e2d4870812f69ea3b6ccb3c8ed33b06c62ffc3 (diff)
parentd924c2327b5a0b083035c168549aa40685ed47a8 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/sasquatch/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/sasquatch/default.nix b/pkgs/tools/filesystems/sasquatch/default.nix
index b14dc620e4214..238223c4981e6 100644
--- a/pkgs/tools/filesystems/sasquatch/default.nix
+++ b/pkgs/tools/filesystems/sasquatch/default.nix
@@ -48,7 +48,12 @@ stdenv.mkDerivation rec {
 
   installFlags = [ "INSTALL_DIR=\${out}/bin" ];
 
-  makeFlags = [ "XZ_SUPPORT=1" ]
+  makeFlags = [
+    "XZ_SUPPORT=1"
+    "CC=${stdenv.cc.targetPrefix}cc"
+    "CXX=${stdenv.cc.targetPrefix}c++"
+    "AR=${stdenv.cc.targetPrefix}ar"
+  ]
     ++ lib.optional lz4Support "LZ4_SUPPORT=1";
 
   meta = with lib; {