aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-02-05 12:19:10 +0100
committerGitHub <noreply@github.com>2021-02-05 12:19:10 +0100
commitc77f4a90129cb52aeaecae5fcfa687c6a4374999 (patch)
tree513e68f8673900f075790aeda5c5f6d9a119d84b /src
parent0187838e2e7ff01f1b480e3e85d9e96da0b4b78e (diff)
parent3d1bbabe55eff6e67d91e0cbee781c2b756a2e92 (diff)
Merge pull request #4515 from matthewbauer/fix-nix-profile-install-first-output
Use derivation output name from toDerivation
Diffstat (limited to 'src')
-rw-r--r--src/nix/profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/profile.cc b/src/nix/profile.cc
index 765d6866e..827f8be5a 100644
--- a/src/nix/profile.cc
+++ b/src/nix/profile.cc
@@ -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 {