diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2021-05-12 21:40:28 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2021-05-12 21:40:28 -0500 |
commit | 8c7e043de2f673bc355d83f1e873baa93f30be62 (patch) | |
tree | 5d398a761440583e93313b3430c2d3168a1c987a /src/libstore/derived-path.cc | |
parent | d169eb2a1badc5ea32d21bc757d767927ba813c5 (diff) |
Fix tokenize output names in drv
This should fix the issue described in
https://discourse.nixos.org/t/derivation-does-not-have-wanted-outputs-dev-out/12905.
Specifically, we get an error of
error: derivation '/nix/store/_.drv' does not have wanted outputs 'dev,out'
when a path like /nix/store/_.drv!dev,out is sent to the daemon.
Diffstat (limited to 'src/libstore/derived-path.cc')
-rw-r--r-- | src/libstore/derived-path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/derived-path.cc b/src/libstore/derived-path.cc index 13833c58e..9cfbf50d9 100644 --- a/src/libstore/derived-path.cc +++ b/src/libstore/derived-path.cc @@ -62,7 +62,7 @@ DerivedPath::Built DerivedPath::Built::parse(const Store & store, std::string_vi auto outputsS = s.substr(n + 1); std::set<string> outputs; if (outputsS != "*") - outputs = tokenizeString<std::set<string>>(outputsS); + outputs = tokenizeString<std::set<string>>(outputsS, ","); return {drvPath, outputs}; } |