mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
Set packages.default for nix run
With the pre-2.7 `defaultPackage` key, one would write ``` defaultPackage = packages.hello ``` I guess you can do the same in 2.7, but then you have two attrs in packages, which seems like it might confuse tooling: ``` packages.default = packages.hello ``` I wonder if packages.default shouldn't be a string? but then it would need validation...
This commit is contained in:
parent
7678eacc0c
commit
fe47133e9d
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
# system.
|
||||
|
||||
# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
|
||||
packages.hello = pkgs.hello;
|
||||
packages.default = pkgs.hello;
|
||||
};
|
||||
flake = {
|
||||
# The usual flake attributes can be defined here, including system-
|
||||
|
|
Loading…
Reference in a new issue