From c37c398a30f42da130142f0b2271d74b2c0465e1 Mon Sep 17 00:00:00 2001 From: Sophie Forrest Date: Tue, 10 Sep 2024 12:41:44 +1200 Subject: feat: downloading Downloading is now done with reqwest. --- flake.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index faeac58..9e3b4dc 100644 --- a/flake.nix +++ b/flake.nix @@ -10,8 +10,20 @@ flake-parts.lib.mkFlake {inherit inputs;} { systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"]; - perSystem = {pkgs, ...}: { + perSystem = { + lib, + pkgs, + ... + }: { packages.default = pkgs.callPackage ./nix/package.nix {}; + + devShells.default = + pkgs.mkShell { + nativeBuildInputs = let inherit (pkgs) openssl pkg-config; in [openssl openssl.dev pkg-config]; + + PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig"; + LD_LIBRARY_PATH = lib.makeLibraryPath [pkgs.openssl]; + }; }; }; } -- cgit 1.4.1