Skip to content

Commit

Permalink
Fix duplicate ${system} in flake tutorial (#1729)
Browse files Browse the repository at this point in the history
When I followed this tutorial, my default package ended up as `packages.aarch64-darwin.aarch64-darwin.default`. Removing this "extra" `${system}` solves the problem, but admittedly I'm not 100% sure what's going on here.
  • Loading branch information
denizdogan committed Oct 2, 2022
1 parent 1fbe8f6 commit 127e423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/getting-started-flakes.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Add `flake.nix`:
};
in flake // {
# Built by `nix build .`
packages.${system}.default = flake.packages."hello:exe:hello";
packages.default = flake.packages."hello:exe:hello";
});
}
```
Expand Down

0 comments on commit 127e423

Please sign in to comment.