mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
2919c496ea
Thus $ nix dev-shell will now build the 'provides.devShell' attribute from the flake in the current directory. If it doesn't exist, it falls back to 'provides.defaultPackage'.
26 lines
416 B
Nix
26 lines
416 B
Nix
{
|
|
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;
|
|
};
|
|
|
|
};
|
|
}
|