19 lines
362 B
Nix
19 lines
362 B
Nix
{ lib, ... }: let
|
|
pkgs.hello = {
|
|
type = "derivation";
|
|
pname = "hello";
|
|
};
|
|
in {
|
|
options = {
|
|
package = lib.mkPackageOption pkgs "hello" { };
|
|
|
|
undefinedPackage = lib.mkPackageOption pkgs "hello" {
|
|
default = null;
|
|
};
|
|
|
|
nullablePackage = lib.mkPackageOption pkgs "hello" {
|
|
nullable = true;
|
|
default = null;
|
|
};
|
|
};
|
|
}
|