From dd0b16d5b037008fc33593248a2ed12c3f03b18d Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 6 Oct 2023 17:57:18 -0400 Subject: [PATCH] flake.nix: fix build --- flake.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index d1118b1..0c153d1 100644 --- a/flake.nix +++ b/flake.nix @@ -22,10 +22,16 @@ in rec { defaultPackage = naersk'.buildPackage { src = ./.; + usePureFromTOML = false; + nativeBuildInputs = with pkgs; [ + python311 + pkg-config + openssl + ]; }; devShell = pkgs.mkShell { - nativeBuildInputs = with pkgs; [rustc cargo python311]; + packages = with pkgs; [rustc cargo]; }; } );