nix-shell: specify which outputs from bashInteractive to build

This commit is contained in:
Winter Cute 2022-08-09 16:48:34 -04:00
parent 73fde9eed0
commit 5f37c5191a

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;