diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-04-08 23:47:29 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-04-08 23:52:09 +0200 |
commit | c996e04aca2db1755ded4864465338afab677ff5 (patch) | |
tree | 5c368d72cc2031f68d24385c1c6bee4313ad8f01 /flake.nix | |
parent | 507da65900ccb3c6356673e93ad2271c58e43b07 (diff) |
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.
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -14,5 +14,6 @@ packages.nix = hydraJobs.build.x86_64-linux; + defaultPackage = packages.nix; }; } |