diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-08-10 11:34:41 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-08-10 11:34:41 +0200 |
commit | f72c907ad833fa26800ad1694e63f3cec952b444 (patch) | |
tree | 9214fe93db13ba5ae912a88a7bfa2417420b96ad /src/nix | |
parent | ada4e902672e4d82f47fa260adcc450d9a85d41f (diff) |
Slightly questionable workaround for #2342
Diffstat (limited to 'src/nix')
-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 0be992b03..0c1ad3ab3 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}}}}; } }; |