aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-04-08 23:47:29 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-04-08 23:52:09 +0200
commitc996e04aca2db1755ded4864465338afab677ff5 (patch)
tree5c368d72cc2031f68d24385c1c6bee4313ad8f01 /flake.nix
parent507da65900ccb3c6356673e93ad2271c58e43b07 (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.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index b119f0324..695f67fa4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,5 +14,6 @@
packages.nix = hydraJobs.build.x86_64-linux;
+ defaultPackage = packages.nix;
};
}