1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

swiftshader: fix build on hydra (#337213)

This commit is contained in:
Aleksana 2024-09-04 00:48:05 +08:00 committed by GitHub
commit 9faf7e7a86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,14 @@ stdenv.mkDerivation rec {
src = fetchgit {
url = "https://swiftshader.googlesource.com/SwiftShader";
rev = "4e40d502c440cc59b25fa3a5fee0eadbab7442aa";
sha256 = "085bdqn80s7zw5h2pz6xff3j34hmkxb9wxzgjmzdr9c24zwp2k1c";
hash = "sha256-YtbTaOkFhVMKdu3jiRHQsPmoEu3KDzIQXLZ5HFBSmWI=";
# Remove 1GB of test files to get under Hydra output limit
postFetch = ''
rm -r $out/third_party/llvm-project/llvm/test
rm -r $out/third_party/json/test
rm -r $out/third_party/cppdap/third_party/json/test
rm -r $out/third_party/llvm-project/clang/test
'';
};
nativeBuildInputs = [ cmake python3 jq ];