lix-releng-staging/flake.nix
Eelco Dolstra 2919c496ea nix dev-shell: Use 'provides.devShell' by default
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'.
2019-05-02 21:10:13 +02:00

27 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;
};
};
}