treewide: replace stdenv.is in non nix files

Continuing e0464e4788
This commit is contained in:
Artturin
2024-09-25 06:33:31 +03:00
parent 1174fd6678
commit 40799fc06d
7 changed files with 11 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ One advantage is that when `pkgs.zlib` is updated, it will automatically update
echo "================= /testing zlib using node ================="
'';
postPatch = pkgs.lib.optionalString pkgs.stdenv.isDarwin ''
postPatch = pkgs.lib.optionalString pkgs.stdenv.hostPlatform.isDarwin ''
substituteInPlace configure \
--replace-fail '/usr/bin/libtool' 'ar' \
--replace-fail 'AR="libtool"' 'AR="ar"' \