mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +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
|
@ -1,6 +1,8 @@
|
|||
{ useClang ? false }:
|
||||
{ useClang ? false
|
||||
, nixpkgs ? builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz
|
||||
}:
|
||||
|
||||
with import (builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz) {};
|
||||
with import nixpkgs { system = builtins.currentSystem or "x86_64-linux"; };
|
||||
|
||||
with import ./release-common.nix { inherit pkgs; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue