summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barroso <dbarrosop@dravetech.com>2022-12-10 13:23:15 +0100
committerDavid Barroso <dbarrosop@dravetech.com>2022-12-10 13:23:15 +0100
commit3d693634b5dbb284a4c4712b45215005287bb92c (patch)
treeb1d7609be71250a6d377f7fdfbe33d91d1e2a6b1
parente3af483fa68dbe2efd957327500b55acd86ef0fd (diff)
fix nix build on Darwin
-rw-r--r--flake.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 15c82b7..4cfe7d9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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