makeself: disable tests for now, working around #110149

I couldn't find an easy way to work around this while doing the tests,
so let's disable them for now and work on fixing the sandbox shell
instead (and re-enable tests after that is deployed; I hope).

+4 -12
+4 -2
pkgs/applications/misc/makeself/default.nix
··· 12 sha256 = "07cq7q71bv3fwddkp2863ylry2ivds00f8sjy8npjpdbkailxm21"; 13 }; 14 15 - patches = [ ./tests-use-better-shell.patch ]; 16 postPatch = "patchShebangs test"; 17 18 - doCheck = true; 19 checkTarget = "test"; 20 checkInputs = [ which zstd pbzip2 ]; 21
··· 12 sha256 = "07cq7q71bv3fwddkp2863ylry2ivds00f8sjy8npjpdbkailxm21"; 13 }; 14 15 postPatch = "patchShebangs test"; 16 17 + # Issue #110149: our default /bin/sh apparently has 32-bit math only 18 + # (attribute busybox-sandbox-shell), and that causes problems 19 + # when running these tests inside build, based on free disk space. 20 + doCheck = false; 21 checkTarget = "test"; 22 checkInputs = [ which zstd pbzip2 ]; 23
-10
pkgs/applications/misc/makeself/tests-use-better-shell.patch
··· 1 - Use full bash's sh in tests instead of /bin/sh, as that would be 2 - too minimalist in the build sandbox. See issue: 3 - https://github.com/NixOS/nixpkgs/issues/110149#issuecomment-874258128 4 - diff --git a/test/extracttest b/test/extracttest 5 - --- a/test/extracttest 6 - +++ b/test/extracttest 7 - @@ -9,2 +9,3 @@ setupTests() { 8 - $SUT $* archive makeself-test.run "Test $*" echo Testing 9 - + sed "1s|/bin|$(dirname "$SHELL")|" -i ./makeself-test.run 10 - }
···