diff --git a/nixos/tests/nscd.nix b/nixos/tests/nscd.nix index 393c97f61095..75e478725d49 100644 --- a/nixos/tests/nscd.nix +++ b/nixos/tests/nscd.nix @@ -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 diff --git a/pkgs/by-name/li/libredirect/package.nix b/pkgs/by-name/li/libredirect/package.nix index ebc52708dded..a19d7151dd56 100644 --- a/pkgs/by-name/li/libredirect/package.nix +++ b/pkgs/by-name/li/libredirect/package.nix @@ -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