fix nix build on Darwin

This commit is contained in:
David Barroso 2022-12-10 13:23:15 +01:00
parent e3af483fa6
commit 3d693634b5
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@
name = "rustlings";
version = "5.2.1";
buildInputs = with pkgs; lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
];
src = with pkgs.lib; cleanSourceWith {
src = self;
# a function that returns a bool determining if the path should be included in the cleaned source