Devenv 1.1: Nested Nix outputs using the module system

4 Likes

Out of curiosity, how do you find the options that have packages?

In general, options does not have to be finite, so I’m curious what this means for devenv module authors.
Obviously the usage of options tends to be finite in size, so it all works out and we never accessing infinitely deep things; for example this one on NixOS: options.virtualisation.vmVariant.value.virtualisation.vmVariant.virtualisation.vmVariant.virtualisation.vmVariant...

I’m traversing the computed pkgs.nixos(..).options and assuming it’s finite :slight_smile: