Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
288 B · 18 lines
Nix
12345678910111213141516171819{ lib, config, ... }:let inherit (lib) types;in{ options = { fun = lib.mkOption { type = types.functionTo types.str; };
result = lib.mkOption { type = types.str; default = config.fun "input"; }; };
config.fun = input: "input is ${input}";}