Skip to content

Commit d1125e4

Browse files
committed
Fix #1581: update flake.nix template in "Getting started with flakes" to use 2.7 default package syntax
1 parent 7d38602 commit d1125e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/getting-started-flakes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Add `flake.nix`:
9797
};
9898
in flake // {
9999
# Built by `nix build .`
100-
defaultPackage = flake.packages."hello:exe:hello";
100+
packages.default = flake.packages."hello:exe:hello";
101101
});
102102
}
103103
```

0 commit comments

Comments
 (0)