From 5f37c5191a3a8f5c7ab31a0dd8bffe14aaa6b76c Mon Sep 17 00:00:00 2001 From: Winter Date: Tue, 9 Aug 2022 16:48:34 -0400 Subject: [PATCH] nix-shell: specify which outputs from bashInteractive to build --- src/nix-build/nix-build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;