diff options
author | Winter <winter@winter.cafe> | 2022-08-09 16:48:34 -0400 |
---|---|---|
committer | Winter <winter@winter.cafe> | 2022-08-09 22:54:22 -0400 |
commit | 5f37c5191a3a8f5c7ab31a0dd8bffe14aaa6b76c (patch) | |
tree | 57208c53729c01de96b694f71505da95979f5202 /src/nix-build | |
parent | 73fde9eed06dfdef5d37b3d798cfc98a542a4d73 (diff) |
nix-shell: specify which outputs from bashInteractive to build
Diffstat (limited to 'src/nix-build')
-rw-r--r-- | src/nix-build/nix-build.cc | 2 |
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; |