mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
20 lines
362 B
Nix
20 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;
|
|
};
|
|
};
|
|
}
|