mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
rustlings: add darwin support by adding CoreServices to buildInputs
This commit is contained in:
parent
387fbb7a4b
commit
906e5696a6
@ -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 [
|
||||
|
Loading…
Reference in New Issue
Block a user