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