about summary refs log tree commit diff
path: root/pkgs/tools/package-management/pkg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/package-management/pkg/default.nix')
-rw-r--r--pkgs/tools/package-management/pkg/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/package-management/pkg/default.nix b/pkgs/tools/package-management/pkg/default.nix
index 92a2270e2d75..76890f4bd515 100644
--- a/pkgs/tools/package-management/pkg/default.nix
+++ b/pkgs/tools/package-management/pkg/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   nativeBuildInputs = [ m4 pkg-config tcl ];
   buildInputs = [ bzip2 elfutils libarchive openssl xz zlib ]
-    ++ lib.optional stdenv.isLinux libbsd;
+    ++ lib.optional stdenv.hostPlatform.isLinux libbsd;
 
   enableParallelBuilding = true;