mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
Merge pull request #62165 from Infinisil/fix/trinity
trinity: small clean up
This commit is contained in:
commit
5940f6b3f0
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "trinity-${version}";
|
||||
pname = "trinity";
|
||||
version = "1.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -11,16 +11,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0z1a7x727xacam74jccd223k303sllgwpq30lnq9b6xxy8b659bv";
|
||||
};
|
||||
|
||||
# Fails on 32-bit otherwise
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-Wno-error=int-to-pointer-cast"
|
||||
"-Wno-error=pointer-to-int-cast"
|
||||
"-Wno-error=incompatible-pointer-types"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs ./configure
|
||||
patchShebangs ./scripts/
|
||||
patchShebangs configure
|
||||
patchShebangs scripts
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user