Fix random typos while replacing libredirect with libredirect.hook (#385607)

This commit is contained in:
Sandro
2025-02-27 20:41:57 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import ./make-test-python.nix (
# build a getent that itself doesn't see anything in /etc/hosts and
# /etc/nsswitch.conf, by using libredirect to steer its own requests to
# /dev/null.
# This means is /has/ to go via nscd to actuallly resolve any of the
# This means is /has/ to go via nscd to actually resolve any of the
# additionally configured hosts.
getent' = pkgs.writeScript "getent-without-etc-hosts" ''
export NIX_REDIRECTS=/etc/hosts=/dev/null:/etc/nsswitch.conf=/dev/null
+1 -1
View File
@@ -95,7 +95,7 @@ else
''
+ lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) ''
# dylib will be rejected unless dylib rpath gets explictly set
# dylib will be rejected unless dylib rpath gets explicitly set
install_name_tool \
-change $libName $out/lib/$libName \
$out/lib/$libName