diff options
author | Justin Bedo <cu@cua0.org> | 2023-08-03 23:36:14 +1000 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2023-08-03 23:36:14 +1000 |
commit | d7cdea2dd784d5bd5e0acb5766656e77da285049 (patch) | |
tree | ed3ae863a3ab7a0dd56bdb75675f8ab28eb57e5e /flake.nix | |
parent | 04685332602ebcb6c0429026aa1def55f4c8c483 (diff) |
switch to cloudflare zlib
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -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; }; } |