Nix module: make package nullable

This commit is contained in:
Mihai Fufezan 2022-07-30 18:11:46 +03:00
parent 191c02a4f4
commit 3c544e1c31
No known key found for this signature in database
GPG Key ID: 5899325F2F120900
1 changed files with 1 additions and 1 deletions

View File

@ -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 { }";