1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 19:23:54 +02:00

Replace defaultBla.$system with bla.$system.default

This also simplifies some InstallableFlake logic and fixes 'nix
bundle' parsing its installable twice.

Fixes #5532.
This commit is contained in:
Eelco Dolstra 2022-02-11 18:11:08 +01:00
parent caf5172945
commit 162fbe31ff
9 changed files with 61 additions and 41 deletions

View file

@ -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