summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2025-08-10 17:46:31 -0700
committerGitHub <noreply@github.com>2025-08-10 17:46:31 -0700
commit44d04664098a11b5204036a0f42ce5cf9edb524d (patch)
tree982745c809543760ddbd7833a4df8c3fe9cd48c3
parentfetchgit: Add rootDir argument (#427165) (diff)
parentrancher: fix build on darwin (diff)
downloadnixpkgs-44d04664098a11b5204036a0f42ce5cf9edb524d.tar.gz
rancher: fix build on darwin (#431535)
-rw-r--r--pkgs/by-name/ra/rancher/package.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/by-name/ra/rancher/package.nix b/pkgs/by-name/ra/rancher/package.nix
index e5ada61609f9..12dcd424d283 100644
--- a/pkgs/by-name/ra/rancher/package.nix
+++ b/pkgs/by-name/ra/rancher/package.nix
@@ -15,6 +15,8 @@ buildGoModule rec {
hash = "sha256-K0uMo/sRol2F02iV7b9NcmZcQGZ9iSEIdbZgT+Ea+/c=";
};
+ env.CGO_ENABLED = 0;
+
ldflags = [
"-w"
"-s"