Skip to content

Commit

Permalink
Update trivial template with nix 2.7 default package syntax
Browse files Browse the repository at this point in the history
warning: flake output attribute 'defaultPackage' is deprecated; use 'packages.<system>.default' instead
  • Loading branch information
yvan-sraka committed Aug 23, 2022
1 parent 2f86534 commit d94056c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trivial/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;

defaultPackage.x86_64-linux = self.packages.x86_64-linux.hello;
packages.x86_64-linux.default = self.packages.x86_64-linux.hello;

};
}

0 comments on commit d94056c

Please sign in to comment.