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:
parent
7dcf5b011a
commit
2919c496ea
5 changed files with 51 additions and 13 deletions
|
@ -17,5 +17,10 @@
|
|||
packages.nix = hydraJobs.build.x86_64-linux;
|
||||
|
||||
defaultPackage = packages.nix;
|
||||
|
||||
devShell = import ./shell.nix {
|
||||
nixpkgs = deps.nixpkgs;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue