diff options
Diffstat (limited to 'pkgs/by-name/ru/rustlings/package.nix')
-rw-r--r-- | pkgs/by-name/ru/rustlings/package.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/by-name/ru/rustlings/package.nix b/pkgs/by-name/ru/rustlings/package.nix index b66d2ced7e12..2d05eee496f1 100644 --- a/pkgs/by-name/ru/rustlings/package.nix +++ b/pkgs/by-name/ru/rustlings/package.nix @@ -36,7 +36,9 @@ rustPlatform.buildRustPackage { makeWrapper ]; - buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreServices ]); + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin ( + with darwin.apple_sdk.frameworks; [ CoreServices ] + ); postFixup = '' wrapProgram $out/bin/rustlings --suffix PATH : ${ |