Nix module: make package nullable
This commit is contained in:
parent
191c02a4f4
commit
3c544e1c31
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue