mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Allow relative paths in flakerefs
Also allow "." as an installable to refer to the flake in the current directory. E.g. $ nix build . will build 'provides.defaultPackage' in the flake in the current directory.
This commit is contained in:
parent
507da65900
commit
c996e04aca
4 changed files with 15 additions and 8 deletions
|
@ -14,5 +14,6 @@
|
|||
|
||||
packages.nix = hydraJobs.build.x86_64-linux;
|
||||
|
||||
defaultPackage = packages.nix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue