rustlings: add darwin support by adding CoreServices to buildInputs (#339263)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
darwin,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
@@ -34,6 +36,8 @@ rustPlatform.buildRustPackage {
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreServices ]);
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/rustlings --suffix PATH : ${
|
||||
lib.makeBinPath [
|
||||
|
||||
Reference in New Issue
Block a user