summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix16
1 files changed, 14 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index cb7b97c..0d5bcb5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,13 +1,25 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs";
+ inputs.cloudflareZlib = {
+ url = "github:cloudflare/zlib";
+ flake = false;
+ };
outputs = {
self,
nixpkgs,
+ cloudflareZlib,
}: let
system = "x86_64-linux";
- pkgs = import nixpkgs {inherit system;};
+ pkgs = import nixpkgs {
+ inherit system;
+ overlays = [
+ (_: super:
+ with super; {
+ })
+ ];
+ };
in {
- packages.${system}.default = import ./. {inherit pkgs;};
+ packages.${system}.default = import ./. {inherit pkgs cloudflareZlib;};
devShells.${system}.default = self.packages.${system}.default.env;
};
}