1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-04 21:18:28 +03:00

eval-with-configuration: Expose options

This can be useful when used with `nix repl`. For example, using:

```
:p options.environment.systemPackages.definitionsWithLocations
```

You can figure out where a specific package was added, when simple
grepping is hard in Nixpkgs.
This commit is contained in:
Samuel Dionne-Riel 2023-01-28 01:15:28 -05:00
parent 0b5676f8f3
commit 6c6d90acd4

View File

@ -64,6 +64,7 @@ in
# The evaluated config
inherit (eval) config;
inherit (eval) options;
# The final pkgs set, usable as -A pkgs.[...] on the CLI.
inherit (eval) pkgs;