mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
trinity: small clean up
This commit is contained in:
parent
474566bccb
commit
b13df4545c
1 changed files with 3 additions and 10 deletions
|
@ -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 a new issue