Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
1234567891011121314151617181920212223242526272829{ config, lib, ... }:{
options.theType = lib.mkOption { type = lib.types.optionType; };
options.theOption = lib.mkOption { type = config.theType; };
config.theType = lib.mkMerge [ (lib.types.submodule { options.int = lib.mkOption { type = lib.types.int; default = 10; }; }) (lib.types.submodule { options.str = lib.mkOption { type = lib.types.str; }; }) ];
config.theOption.str = "hello";
}