1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

Respect the outputSpecified attribute

E.g. 'nix build nixpkgs#libxml2.dev' will build the 'dev' output.
This commit is contained in:
Eelco Dolstra 2022-05-30 11:32:37 +02:00
parent ec07a70979
commit 8e8e9d8705
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
5 changed files with 36 additions and 17 deletions

View file

@ -459,6 +459,7 @@ EvalState::EvalState(
, sKey(symbols.create("key"))
, sPath(symbols.create("path"))
, sPrefix(symbols.create("prefix"))
, sOutputSpecified(symbols.create("outputSpecified"))
, repair(NoRepair)
, emptyBindings(0)
, store(store)