about summary refs log tree commit diff
path: root/pkgs/development/tools/earthly/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/earthly/default.nix')
-rw-r--r--pkgs/development/tools/earthly/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/earthly/default.nix b/pkgs/development/tools/earthly/default.nix
index 576c3edd405c..e36971390d4f 100644
--- a/pkgs/development/tools/earthly/default.nix
+++ b/pkgs/development/tools/earthly/default.nix
@@ -23,7 +23,7 @@ buildGoModule rec {
     "-X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${version}"
     "-X main.GitSha=v${version}"
     "-X main.DefaultInstallationName=earthly"
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     "-extldflags '-static'"
   ];