aboutsummaryrefslogtreecommitdiff
path: root/tests/flake-searching.sh
diff options
context:
space:
mode:
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