Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: e08cb1ff6504
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: d9db65ce4bf9
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on May 25, 2019

  1. pkgs.nixos: Expose configuration directly

    The pkgs.nixos used to only expose system.build, which kind of made
    sense in theory, but asking everyone to write modules when to want
    to pull something out of a NixOS configuration is just not realistic.
    In fact it's very inconvenient when you're trying to debug something.
    
    This adds the config, options and anything that eval-config.nix
    produces. Although this introduces the potential for attributes
    of eval-config.nix output to shadow system.build, I don't expect
    naming collisions to be commonplace, or to remain undetected during
    evaluation. Also such an error should be easy to resolve, by explicitly
    querying (pkgs.nixos {}).config.system.build.X, or by renaming X
    to something other than config, options, extraArgs.
    roberth committed May 25, 2019
    Copy the full SHA
    b52d80b View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2019

  1. Merge pull request #62046 from roberth/pkgs-nixos-expose-all-config

    pkgs.nixos: Expose configuration directly
    lheckemann committed Sep 1, 2019
    Copy the full SHA
    d9db65c View commit details
    Browse the repository at this point in the history