mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-31 21:24:27 +02:00
Merge pull request #95 from nyantec/flake-default-app
flake: add default apps
This commit is contained in:
commit
f0c2fa1d85
15
flake.nix
15
flake.nix
@ -25,5 +25,20 @@
|
||||
schildichat-desktop-wayland
|
||||
;
|
||||
}) nixpkgsFor;
|
||||
|
||||
defaultPackage = forAllSystems (system: self.packages.${system}.schildichat-desktop);
|
||||
|
||||
apps = forAllSystems(system: {
|
||||
schildichat-desktop = {
|
||||
type = "app";
|
||||
program = "${self.packages.${system}.schildichat-desktop}/bin/schildichat-desktop";
|
||||
};
|
||||
schildichat-desktop-wayland = {
|
||||
type = "app";
|
||||
program = "${self.packages.${system}.schildichat-desktop-wayland}/bin/schildichat-desktop";
|
||||
};
|
||||
});
|
||||
|
||||
defaultApp = forAllSystems (system: self.apps.${system}.schildichat-desktop);
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user