aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2022-08-09 16:48:34 -0400
committerWinter <winter@winter.cafe>2022-08-09 22:54:22 -0400
commit5f37c5191a3a8f5c7ab31a0dd8bffe14aaa6b76c (patch)
tree57208c53729c01de96b694f71505da95979f5202
parent73fde9eed06dfdef5d37b3d798cfc98a542a4d73 (diff)
nix-shell: specify which outputs from bashInteractive to build
-rw-r--r--src/nix-build/nix-build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc
index 7eb8c8f6a..df292dce6 100644
--- a/src/nix-build/nix-build.cc
+++ b/src/nix-build/nix-build.cc
@@ -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;