about summary refs log tree commit diff
path: root/tvix/utils.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/utils.nix')
-rw-r--r--tvix/utils.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/utils.nix b/tvix/utils.nix
index 4a1fe4327029..f140728cad19 100644
--- a/tvix/utils.nix
+++ b/tvix/utils.nix
@@ -79,7 +79,7 @@
         PROTO_ROOT = depot.tvix.build.protos.protos;
         nativeBuildInputs = [ pkgs.protobuf ];
         buildInputs = lib.optional pkgs.stdenv.isDarwin commonDarwinDeps;
-        TVIX_BUILD_SANDBOX_SHELL = "${pkgs.pkgsStatic.busybox}/bin/sh";
+        TVIX_BUILD_SANDBOX_SHELL = if pkgs.stdenv.isLinux then pkgs.pkgsStatic.busybox + "/bin/sh" else "/bin/sh";
       };
 
       tvix-castore = prev: {