diff options
-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}}}}; } }; |