aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-05-06 15:35:24 +0200
committerGitHub <noreply@github.com>2021-05-06 15:35:24 +0200
commitdb6ab75caec3ea4f575d7a01a28fd1fd7bc28892 (patch)
treed963b3383a9ebc669075e6d933ef31e06a66fe12 /src/nix
parentfe3a10a9b2c61ba19b24da4c93c4abc9e7583f3d (diff)
parent1e3a9033b7010c3b49c61c05ec93ba1ba6a61c97 (diff)
Merge pull request #4778 from matthewbauer/fix-nix-profile-install-first-output-2
Use derivation output name from toDerivation
Diffstat (limited to 'src/nix')
-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 667904cd2..e511c4c3e 100644
--- a/src/nix/profile.cc
+++ b/src/nix/profile.cc
@@ -426,7 +426,7 @@ struct CmdProfileUpgrade : virtual SourceExprCommand, MixDefaultProfile, MixProf
attrPath,
};
- pathsToBuild.push_back(DerivedPath::Built{drv.drvPath, {"out"}}); // FIXME
+ pathsToBuild.push_back(DerivedPath::Built{drv.drvPath, {drv.outputName}});
}
}