aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
blob: ab316c7c61c2a0373fe9b86e66d1626e13bfc364 (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
{
  name = "nix";

  description = "The purely functional package manager";

  epoch = 2019;

  requires = [ "nixpkgs" ];

  provides = deps: rec {

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

    packages.nix = hydraJobs.build.x86_64-linux;

    defaultPackage = packages.nix;

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

  };
}