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

Sandro e90d001c 0f8d6add

Changed files
+2 -2
nixos
tests
pkgs
by-name
li
libredirect
+1 -1
nixos/tests/nscd.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
pkgs/by-name/li/libredirect/package.nix
···
''
+ 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