mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 22:02:22 -05:00
fix nix build on Darwin
This commit is contained in:
parent
e3af483fa6
commit
3d693634b5
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@
|
||||||
name = "rustlings";
|
name = "rustlings";
|
||||||
version = "5.2.1";
|
version = "5.2.1";
|
||||||
|
|
||||||
|
buildInputs = with pkgs; lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.CoreServices
|
||||||
|
];
|
||||||
|
|
||||||
src = with pkgs.lib; cleanSourceWith {
|
src = with pkgs.lib; cleanSourceWith {
|
||||||
src = self;
|
src = self;
|
||||||
# a function that returns a bool determining if the path should be included in the cleaned source
|
# a function that returns a bool determining if the path should be included in the cleaned source
|
||||||
|
|
Loading…
Reference in a new issue