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

Use derivation output name from toDerivation
This commit is contained in:
Eelco Dolstra 2021-05-06 15:35:24 +02:00 committed by GitHub
commit db6ab75cae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}});
}
}