Skip to content

Commit d209612

Browse files
committedNov 9, 2017
trinity: 1.6 -> 1.8
1 parent 1b1cc34 commit d209612

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed
 

‎pkgs/os-specific/linux/trinity/default.nix

+3-12
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,20 @@
22

33
stdenv.mkDerivation rec {
44
name = "trinity-${version}";
5-
version = "1.6";
5+
version = "1.8";
66

77
src = fetchFromGitHub {
88
owner = "kernelslacker";
99
repo = "trinity";
1010
rev = "v${version}";
11-
sha256 = "1jwgsjjbngn2dsnkflyigy3ajd0szksl30dlaiy02jc6mqi3nr0p";
11+
sha256 = "1ss6ir3ki2hnj4c8068v5bz8bpa43xqg9zlmzhgagi94g9l05qlf";
1212
};
1313

14-
patches = stdenv.lib.singleton (fetchurl {
15-
url = "https://github.com/kernelslacker/trinity/commit/b0e66a2d084ffc210bc1fc247efb4d177e9f7e3d.patch";
16-
sha256 = "0468fdzbsj3n3k43qm8hf56pa020qn57ripcykv9jfwp215lf0an";
17-
});
18-
1914
postPatch = ''
20-
patchShebangs ./configure.sh
15+
patchShebangs ./configure
2116
patchShebangs ./scripts/
22-
substituteInPlace Makefile --replace '/usr/bin/wc' 'wc'
23-
substituteInPlace configure.sh --replace '/usr/include/linux' '${linuxHeaders}/include/linux'
2417
'';
2518

26-
configurePhase = "./configure.sh";
27-
2819
enableParallelBuilding = true;
2920

3021
installPhase = "make DESTDIR=$out install";

0 commit comments

Comments
 (0)
Please sign in to comment.