Skip to content

Commit

Permalink
fix nix build on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Dec 10, 2022
1 parent e3af483 commit 3d69363
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3d69363

Please sign in to comment.