summary refs log tree commit diff
path: root/pkgs/os-specific/linux/busybox/sandbox-shell.nix
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2021-07-06 10:43:39 +0200
committerVladimír Čunát <v@cunat.cz>2021-07-06 10:43:39 +0200
commitf526256a6f2e7eacc564347a35a86218065ca1ed (patch)
tree6caf63a42f2deecb503b67f4a45a9460eb649629 /pkgs/os-specific/linux/busybox/sandbox-shell.nix
parentfa9f6c56a8b9340aa9dcf02cdd0026bdb0e61422 (diff)
downloadnixpkgs-f526256a6f2e7eacc564347a35a86218065ca1ed.tar
nixpkgs-f526256a6f2e7eacc564347a35a86218065ca1ed.tar.gz
nixpkgs-f526256a6f2e7eacc564347a35a86218065ca1ed.tar.bz2
nixpkgs-f526256a6f2e7eacc564347a35a86218065ca1ed.tar.lz
nixpkgs-f526256a6f2e7eacc564347a35a86218065ca1ed.tar.xz
nixpkgs-f526256a6f2e7eacc564347a35a86218065ca1ed.tar.zst
nixpkgs-f526256a6f2e7eacc564347a35a86218065ca1ed.zip
busybox-sandbox-shell: use 64-bit numbers in `test` command
The default is C int, which usually gives 32-bit even on 64-bit Linux.
This will be the right way to fix #110149 (but needs to be deployed).
Diffstat (limited to 'pkgs/os-specific/linux/busybox/sandbox-shell.nix')
-rw-r--r--pkgs/os-specific/linux/busybox/sandbox-shell.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/busybox/sandbox-shell.nix b/pkgs/os-specific/linux/busybox/sandbox-shell.nix
index f5db0b25f18..fa70e5f91d8 100644
--- a/pkgs/os-specific/linux/busybox/sandbox-shell.nix
+++ b/pkgs/os-specific/linux/busybox/sandbox-shell.nix
@@ -8,6 +8,7 @@ busybox.override {
     CONFIG_FEATURE_FANCY_ECHO y
     CONFIG_FEATURE_SH_MATH y
     CONFIG_FEATURE_SH_MATH_64 y
+    CONFIG_FEATURE_TEST_64 y
 
     CONFIG_ASH y
     CONFIG_ASH_OPTIMIZE_FOR_SIZE y