1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-10 11:10:26 +02:00

fix nix build on Darwin

This commit is contained in:
David Barroso 2022-12-10 13:23:15 +01:00
parent e3af483fa6
commit 3d693634b5

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