1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00

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'.
This commit is contained in:
Eelco Dolstra 2019-05-02 21:10:13 +02:00
parent 7dcf5b011a
commit 2919c496ea
5 changed files with 51 additions and 13 deletions

View file

@ -17,5 +17,10 @@
packages.nix = hydraJobs.build.x86_64-linux;
defaultPackage = packages.nix;
devShell = import ./shell.nix {
nixpkgs = deps.nixpkgs;
};
};
}