mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-27 01:34:24 +03:00
Nix module: make package nullable
This commit is contained in:
parent
191c02a4f4
commit
3c544e1c31
@ -18,7 +18,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.nullOr types.package;
|
||||||
default = self.packages.${pkgs.system}.default;
|
default = self.packages.${pkgs.system}.default;
|
||||||
defaultText = literalExpression "<Hyprland flake>.packages.<system>.default";
|
defaultText = literalExpression "<Hyprland flake>.packages.<system>.default";
|
||||||
example = literalExpression "<Hyprland flake>.packages.<system>.default.override { }";
|
example = literalExpression "<Hyprland flake>.packages.<system>.default.override { }";
|
||||||
|
Loading…
Reference in New Issue
Block a user