aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
blob: f0d9284947a06e01350eb998cf8f2cca5b3ff844 (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
26
27
28
29
{
  description = "The purely functional package manager";

  edition = 201909;

  outputs = { self, nixpkgs }: rec {

    hydraJobs = import ./release.nix {
      nix = self;
      nixpkgs = nixpkgs;
    };

    checks = {
      binaryTarball = hydraJobs.binaryTarball.x86_64-linux;
      perlBindings = hydraJobs.perlBindings.x86_64-linux;
    };

    packages = {
      nix = hydraJobs.build.x86_64-linux;
      nix-perl-bindings = hydraJobs.perlBindings.x86_64-linux;
    };

    defaultPackage = packages.nix;

    devShell = import ./shell.nix {
      inherit nixpkgs;
    };
  };
}