summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2023-08-03 23:36:14 +1000
committerJustin Bedo <cu@cua0.org>2023-08-03 23:36:14 +1000
commitd7cdea2dd784d5bd5e0acb5766656e77da285049 (patch)
treeed3ae863a3ab7a0dd56bdb75675f8ab28eb57e5e /flake.nix
parent04685332602ebcb6c0429026aa1def55f4c8c483 (diff)
switch to cloudflare zlib
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;
};
}