about summary refs log tree commit diff
path: root/pkgs/development/perl-modules/strip-nondeterminism/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/perl-modules/strip-nondeterminism/default.nix')
-rw-r--r--pkgs/development/perl-modules/strip-nondeterminism/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/perl-modules/strip-nondeterminism/default.nix b/pkgs/development/perl-modules/strip-nondeterminism/default.nix
index e50d61b87898..fe6328ea3946 100644
--- a/pkgs/development/perl-modules/strip-nondeterminism/default.nix
+++ b/pkgs/development/perl-modules/strip-nondeterminism/default.nix
@@ -24,7 +24,7 @@ buildPerlPackage rec {
   };
 
   strictDeps = true;
-  nativeBuildInputs = lib.optionals stdenv.isDarwin [ shortenPerlShebang ];
+  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ shortenPerlShebang ];
   buildInputs = [
     ArchiveZip
     ArchiveCpio
@@ -45,7 +45,7 @@ buildPerlPackage rec {
     # we don’t need the debhelper script
     rm $out/bin/dh_strip_nondeterminism
     rm $out/share/man/man1/dh_strip_nondeterminism.1
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     shortenPerlShebang $out/bin/strip-nondeterminism
   '';
 
@@ -56,7 +56,7 @@ buildPerlPackage rec {
   '';
 
   # running shortenPerlShebang in postBuild results in non-functioning binary 'exec format error'
-  doCheck = !stdenv.isDarwin;
+  doCheck = !stdenv.hostPlatform.isDarwin;
   doInstallCheck = true;
 
   meta = with lib; {