swiftshader: fix build on hydra (#337213)

authored by Aleksana and committed by GitHub 9faf7e7a 7165262c

+8 -1
+8 -1
pkgs/development/libraries/swiftshader/default.nix
··· 7 7 src = fetchgit { 8 8 url = "https://swiftshader.googlesource.com/SwiftShader"; 9 9 rev = "4e40d502c440cc59b25fa3a5fee0eadbab7442aa"; 10 - sha256 = "085bdqn80s7zw5h2pz6xff3j34hmkxb9wxzgjmzdr9c24zwp2k1c"; 10 + hash = "sha256-YtbTaOkFhVMKdu3jiRHQsPmoEu3KDzIQXLZ5HFBSmWI="; 11 + # Remove 1GB of test files to get under Hydra output limit 12 + postFetch = '' 13 + rm -r $out/third_party/llvm-project/llvm/test 14 + rm -r $out/third_party/json/test 15 + rm -r $out/third_party/cppdap/third_party/json/test 16 + rm -r $out/third_party/llvm-project/clang/test 17 + ''; 11 18 }; 12 19 13 20 nativeBuildInputs = [ cmake python3 jq ];