summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2019-05-28 20:39:26 +0200
committerSilvan Mosberger <infinisil@icloud.com>2019-06-04 16:00:29 +0200
commitb13df4545ca3b123db9f860c0f3fe4aed88b65ad (patch)
treeda68c250350770db4a4b9d86f61c7f1e7cd6c013
parent474566bccbe50dc12c5142d2759fad53bed47c28 (diff)
trinity: small clean up
-rw-r--r--pkgs/os-specific/linux/trinity/default.nix13
1 files changed, 3 insertions, 10 deletions
diff --git a/pkgs/os-specific/linux/trinity/default.nix b/pkgs/os-specific/linux/trinity/default.nix
index cc85740afddc..b855f0547ba0 100644
--- a/pkgs/os-specific/linux/trinity/default.nix
+++ b/pkgs/os-specific/linux/trinity/default.nix
@@ -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;