Skip to content

Commit

Permalink
Slightly questionable workaround for #2342
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Aug 10, 2018
1 parent ada4e90 commit f72c907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nix/installables.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct InstallableStorePath : Installable

Buildables toBuildables() override
{
return {{"", {{"out", storePath}}}};
return {{isDerivation(storePath) ? storePath : "", {{"out", storePath}}}};
}
};

Expand Down

0 comments on commit f72c907

Please sign in to comment.