summary refs log tree commit diff
diff options
context:
space:
mode:
authorsqualus <squalus@squalus.net>2022-06-15 13:43:46 -0700
committersqualus <squalus@squalus.net>2022-06-15 13:43:46 -0700
commit084294c064051a14a24511e62817fbee6de98e52 (patch)
tree63523656deb7f9b87b2696301ae9bcf21112eae6
parent8f6d9759da970f2c9b00c57965dac4efc39843a6 (diff)
downloadnixpkgs-084294c064051a14a24511e62817fbee6de98e52.tar
nixpkgs-084294c064051a14a24511e62817fbee6de98e52.tar.gz
nixpkgs-084294c064051a14a24511e62817fbee6de98e52.tar.bz2
nixpkgs-084294c064051a14a24511e62817fbee6de98e52.tar.lz
nixpkgs-084294c064051a14a24511e62817fbee6de98e52.tar.xz
nixpkgs-084294c064051a14a24511e62817fbee6de98e52.tar.zst
nixpkgs-084294c064051a14a24511e62817fbee6de98e52.zip
git-lfs: fix cross compile
-rw-r--r--pkgs/applications/version-management/git-lfs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/git-lfs/default.nix b/pkgs/applications/version-management/git-lfs/default.nix
index b4f5a9e5287..6740cb713f8 100644
--- a/pkgs/applications/version-management/git-lfs/default.nix
+++ b/pkgs/applications/version-management/git-lfs/default.nix
@@ -25,7 +25,7 @@ buildGoModule rec {
   subPackages = [ "." ];
 
   preBuild = ''
-    go generate ./commands
+    GOARCH= go generate ./commands
   '';
 
   postBuild = ''