aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-05-31 20:53:23 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-05-31 21:42:23 +0200
commitccb1bad612e060fc4397d340edc64d18231744b6 (patch)
tree50ae07f56ec9ea653ce5522473c4ec3b474ca684 /tests
parent7adb10d29b0041a93d1afeec197bf9af6e8b25b5 (diff)
Allow bare flakerefs as installables
So now $ nix build blender-bin works and builds the default package from that flake. You don't need to add a colon at the end anymore.
Diffstat (limited to 'tests')
-rw-r--r--tests/flakes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/flakes.sh b/tests/flakes.sh
index 377f93c8e..8b9cb7260 100644
--- a/tests/flakes.sh
+++ b/tests/flakes.sh
@@ -131,7 +131,7 @@ nix build -o $TEST_ROOT/result --flake-registry $registry flake1:foo
[[ -e $TEST_ROOT/result/hello ]]
# Test defaultPackage.
-nix build -o $TEST_ROOT/result --flake-registry $registry flake1:
+nix build -o $TEST_ROOT/result --flake-registry $registry flake1
[[ -e $TEST_ROOT/result/hello ]]
# Building a flake with an unlocked dependency should fail in pure mode.