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:
parent
0b5676f8f3
commit
6c6d90acd4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user