diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-08-10T09·34+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-08-10T09·34+0200 |
commit | f72c907ad833fa26800ad1694e63f3cec952b444 (patch) | |
tree | 9214fe93db13ba5ae912a88a7bfa2417420b96ad /src | |
parent | ada4e902672e4d82f47fa260adcc450d9a85d41f (diff) |
Slightly questionable workaround for #2342
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/installables.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc index 0be992b03c5a..0c1ad3ab3db0 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -96,7 +96,7 @@ struct InstallableStorePath : Installable Buildables toBuildables() override { - return {{"", {{"out", storePath}}}}; + return {{isDerivation(storePath) ? storePath : "", {{"out", storePath}}}}; } }; |