aboutsummaryrefslogtreecommitdiff
path: root/tests/flake-searching.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-02-11 18:11:08 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-02-22 11:47:41 +0100
commit162fbe31ffe4c2b2d7648e5df2d5a0c9b4a44996 (patch)
tree583872a69ddbd873b4c08dcd61ab68f9e2a0443c /tests/flake-searching.sh
parentcaf51729450d4c57d48ddbef8e855e9bf65f8792 (diff)
Replace defaultBla.$system with bla.$system.default
This also simplifies some InstallableFlake logic and fixes 'nix bundle' parsing its installable twice. Fixes #5532.
Diffstat (limited to 'tests/flake-searching.sh')
-rw-r--r--tests/flake-searching.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/flake-searching.sh b/tests/flake-searching.sh
index bc55f2bdc..db241f6d2 100644
--- a/tests/flake-searching.sh
+++ b/tests/flake-searching.sh
@@ -15,8 +15,10 @@ cat <<EOF > flake.nix
{
inputs.foo.url = "$PWD/foo";
outputs = a: {
- defaultPackage.$system = import ./simple.nix;
- packages.$system.test = import ./simple.nix;
+ packages.$system = rec {
+ test = import ./simple.nix;
+ default = test;
+ };
};
}
EOF