about summary refs log tree commit diff
path: root/pkgs/development/tools/buildah/wrapper.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/buildah/wrapper.nix')
-rw-r--r--pkgs/development/tools/buildah/wrapper.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/buildah/wrapper.nix b/pkgs/development/tools/buildah/wrapper.nix
index 60670791827d..1b27c4899715 100644
--- a/pkgs/development/tools/buildah/wrapper.nix
+++ b/pkgs/development/tools/buildah/wrapper.nix
@@ -19,7 +19,7 @@
 
 let
   binPath = lib.makeBinPath ([
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     runc
     crun
     conmon
@@ -34,7 +34,7 @@ let
 
     # this only works for some binaries, others may need to be added to `binPath` or in the modules
     paths = [
-    ] ++ lib.optionals stdenv.isLinux [
+    ] ++ lib.optionals stdenv.hostPlatform.isLinux [
       aardvark-dns
       netavark
       passt