summaryrefslogtreecommitdiff
path: root/flake.nix
blob: 0d5bcb558ff18340e15aa8130be7ef7470e337b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
      overlays = [
        (_: super:
          with super; {
          })
      ];
    };
  in {
    packages.${system}.default = import ./. {inherit pkgs cloudflareZlib;};
    devShells.${system}.default = self.packages.${system}.default.env;
  };
}