fix nix build on Darwin
This commit is contained in:
parent
e3af483fa6
commit
3d693634b5
@ -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 New Issue
Block a user