flake: set default pkg the recommended way
This commit is contained in:
parent
4c2786df8a
commit
e199ee0323
@ -62,10 +62,9 @@
|
|||||||
packages = with pkgs;
|
packages = with pkgs;
|
||||||
forAllSystems (system: {
|
forAllSystems (system: {
|
||||||
inherit (nixpkgsFor.${system}) watcher;
|
inherit (nixpkgsFor.${system}) watcher;
|
||||||
});
|
|
||||||
|
|
||||||
defaultPackage =
|
default = nixpkgsFor.${system}.watcher;
|
||||||
forAllSystems (system: self.packages."${system}".watcher);
|
});
|
||||||
|
|
||||||
apps = forAllSystems (system: rec {
|
apps = forAllSystems (system: rec {
|
||||||
watch = {
|
watch = {
|
||||||
|
Reference in New Issue
Block a user