Loading .git-blame-ignore-revs +3 −0 Original line number Diff line number Diff line Loading @@ -160,6 +160,9 @@ ad815aebfbfe1415ff6436521d545029c803c3fb # nixos/nvidia: apply nixfmt-rfc-style (#313440) fbdcdde04a7caa007e825a8b822c75fab9adb2d6 # treewide: reformat files which need reformatting after (#341407) e0464e47880a69896f0fb1810f00e0de469f770a # step-cli: format package.nix with nixfmt (#331629) fc7a83f8b62e90de5679e993d4d49ca014ea013d Loading CONTRIBUTING.md +2 −2 Original line number Diff line number Diff line Loading @@ -637,7 +637,7 @@ Names of files and directories should be in lowercase, with dashes between words ```nix { buildInputs = lib.optional stdenv.isDarwin iconv; buildInputs = lib.optional stdenv.hostPlatform.isDarwin iconv; } ``` Loading @@ -645,7 +645,7 @@ Names of files and directories should be in lowercase, with dashes between words ```nix { buildInputs = if stdenv.isDarwin then [ iconv ] else null; buildInputs = if stdenv.hostPlatform.isDarwin then [ iconv ] else null; } ``` Loading doc/languages-frameworks/beam.section.md +2 −2 Original line number Diff line number Diff line Loading @@ -349,8 +349,8 @@ let nodePackages.prettier ]; inputs = basePackages ++ lib.optionals stdenv.isLinux [ inotify-tools ] ++ lib.optionals stdenv.isDarwin inputs = basePackages ++ lib.optionals stdenv.hostPlatform.isLinux [ inotify-tools ] ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices ]); # define shell startup command Loading doc/languages-frameworks/emscripten.section.md +1 −1 Original line number Diff line number Diff line Loading @@ -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"' \ Loading doc/languages-frameworks/perl.section.md +2 −2 Original line number Diff line number Diff line Loading @@ -125,8 +125,8 @@ On Darwin, if a script has too many `-Idir` flags in its first line (its “sheb hash = "sha256-vOhB/FwQMC8PPvdnjDvxRpU6jAZcC6GMQfc0AH4uwKg="; }; nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; postInstall = lib.optionalString stdenv.isDarwin '' nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang; postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' shortenPerlShebang $out/bin/exiftool ''; }; Loading Loading
.git-blame-ignore-revs +3 −0 Original line number Diff line number Diff line Loading @@ -160,6 +160,9 @@ ad815aebfbfe1415ff6436521d545029c803c3fb # nixos/nvidia: apply nixfmt-rfc-style (#313440) fbdcdde04a7caa007e825a8b822c75fab9adb2d6 # treewide: reformat files which need reformatting after (#341407) e0464e47880a69896f0fb1810f00e0de469f770a # step-cli: format package.nix with nixfmt (#331629) fc7a83f8b62e90de5679e993d4d49ca014ea013d Loading
CONTRIBUTING.md +2 −2 Original line number Diff line number Diff line Loading @@ -637,7 +637,7 @@ Names of files and directories should be in lowercase, with dashes between words ```nix { buildInputs = lib.optional stdenv.isDarwin iconv; buildInputs = lib.optional stdenv.hostPlatform.isDarwin iconv; } ``` Loading @@ -645,7 +645,7 @@ Names of files and directories should be in lowercase, with dashes between words ```nix { buildInputs = if stdenv.isDarwin then [ iconv ] else null; buildInputs = if stdenv.hostPlatform.isDarwin then [ iconv ] else null; } ``` Loading
doc/languages-frameworks/beam.section.md +2 −2 Original line number Diff line number Diff line Loading @@ -349,8 +349,8 @@ let nodePackages.prettier ]; inputs = basePackages ++ lib.optionals stdenv.isLinux [ inotify-tools ] ++ lib.optionals stdenv.isDarwin inputs = basePackages ++ lib.optionals stdenv.hostPlatform.isLinux [ inotify-tools ] ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices ]); # define shell startup command Loading
doc/languages-frameworks/emscripten.section.md +1 −1 Original line number Diff line number Diff line Loading @@ -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"' \ Loading
doc/languages-frameworks/perl.section.md +2 −2 Original line number Diff line number Diff line Loading @@ -125,8 +125,8 @@ On Darwin, if a script has too many `-Idir` flags in its first line (its “sheb hash = "sha256-vOhB/FwQMC8PPvdnjDvxRpU6jAZcC6GMQfc0AH4uwKg="; }; nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; postInstall = lib.optionalString stdenv.isDarwin '' nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang; postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' shortenPerlShebang $out/bin/exiftool ''; }; Loading