mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
c996e04aca
Also allow "." as an installable to refer to the flake in the current directory. E.g. $ nix build . will build 'provides.defaultPackage' in the flake in the current directory.
19 lines
351 B
Nix
19 lines
351 B
Nix
{
|
|
name = "nix";
|
|
|
|
description = "The purely functional package manager";
|
|
|
|
requires = [ flake:nixpkgs ];
|
|
|
|
provides = flakes: rec {
|
|
|
|
hydraJobs = import ./release.nix {
|
|
nix = flakes.nix; # => flakes.self?
|
|
nixpkgs = flakes.nixpkgs;
|
|
};
|
|
|
|
packages.nix = hydraJobs.build.x86_64-linux;
|
|
|
|
defaultPackage = packages.nix;
|
|
};
|
|
}
|