mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +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, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "trinity-${version}";
|
pname = "trinity";
|
||||||
version = "1.9";
|
version = "1.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -11,16 +11,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0z1a7x727xacam74jccd223k303sllgwpq30lnq9b6xxy8b659bv";
|
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 = ''
|
postPatch = ''
|
||||||
patchShebangs ./configure
|
patchShebangs configure
|
||||||
patchShebangs ./scripts/
|
patchShebangs scripts
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue