diff options
| author | Artturin <Artturin@artturin.com> | 2024-09-25 06:33:31 +0300 |
|---|---|---|
| committer | Artturin <Artturin@artturin.com> | 2024-09-27 19:07:45 +0300 |
| commit | 40799fc06d3ec4c2d7f6cd4953d09c8af0b4be3d (patch) | |
| tree | 804321b92b18eecab8da38f0490d47e2b922fab7 /CONTRIBUTING.md | |
| parent | 1174fd6678cac8f036b202d300e6449f3eea2027 (diff) | |
treewide: replace `stdenv.is` in non nix files
Continuing e0464e47880a69896f0fb1810f00e0de469f770a
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b09cbaba14cd..f3c3cfe611d2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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; } ``` @@ -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; } ``` |
