Merge pull request #4515 from matthewbauer/fix-nix-profile-install-first-output

Use derivation output name from toDerivation
This commit is contained in:
Eelco Dolstra 2021-02-05 12:19:10 +01:00 committed by GitHub
commit c77f4a9012
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -249,7 +249,7 @@ struct CmdProfileInstall : InstallablesCommand, MixDefaultProfile
attrPath,
};
pathsToBuild.push_back({drv.drvPath, StringSet{"out"}}); // FIXME
pathsToBuild.push_back({drv.drvPath, StringSet{drv.outputName}});
manifest.elements.emplace_back(std::move(element));
} else {