Merge pull request #6887 from winterqt/specify-bashinteractive-outputs

nix-shell: specify which outputs from bashInteractive to build
This commit is contained in:
Eelco Dolstra 2022-08-23 14:44:23 +02:00 committed by GitHub
commit db71f5646f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -401,7 +401,7 @@ static void main_nix_build(int argc, char * * argv)
auto bashDrv = drv->requireDrvPath();
pathsToBuild.push_back(DerivedPath::Built {
.drvPath = bashDrv,
.outputs = {},
.outputs = {"out"},
});
pathsToCopy.insert(bashDrv);
shellDrv = bashDrv;