From b89b02989b6a851b6def06c3195214c1ca0ee023 Mon Sep 17 00:00:00 2001 From: card Date: Wed, 8 May 2024 20:38:37 -0400 Subject: [PATCH 1/2] fix flake.nix --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index ebb7b2ac..986b9949 100644 --- a/flake.nix +++ b/flake.nix @@ -21,11 +21,11 @@ cargoLock = { lockFile = ./Cargo.lock; outputHashes = { - "pallas-0.23.0" = "7deb0f9c183c39d24499f123b17372394385a159ee6380df72fc27335cfa28e8"; + "pallas-0.23.0" = "7deb0f9c183c39d24499f123b17372394385a159ee6380df72fc27335cfa28e8"; }; }; }; - defaultPackage = self.packages.oura; + defaultPackage = self.packages.${system}.oura; } ); } From d5d27b2671992e8b21a820602ff54d0609d1a191 Mon Sep 17 00:00:00 2001 From: card Date: Tue, 14 May 2024 13:53:01 -0400 Subject: [PATCH 2/2] fix build on macos due to missing frameworks --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 986b9949..8c959e65 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,7 @@ "pallas-0.23.0" = "7deb0f9c183c39d24499f123b17372394385a159ee6380df72fc27335cfa28e8"; }; }; + buildInputs = with pkgs; nixpkgs.lib.optionals (stdenv.isDarwin) [ darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.SystemConfiguration]; #TODO: make optional based off macos }; defaultPackage = self.packages.${system}.oura; }