From 291f18733402883b322121f6acb31f4f75506f51 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sun, 8 Nov 2015 20:09:17 +0200 Subject: [PATCH] trinity: 1.5 -> 1.6 Need to fix a /usr/include reference in the new release. --- pkgs/os-specific/linux/trinity/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/trinity/default.nix b/pkgs/os-specific/linux/trinity/default.nix index 9b7e2a6876ad..a60175900cd7 100644 --- a/pkgs/os-specific/linux/trinity/default.nix +++ b/pkgs/os-specific/linux/trinity/default.nix @@ -1,20 +1,21 @@ -{ stdenv, fetchFromGitHub }: +{ stdenv, fetchFromGitHub, linuxHeaders }: stdenv.mkDerivation rec { name = "trinity-${version}"; - version = "1.5"; + version = "1.6"; src = fetchFromGitHub { owner = "kernelslacker"; repo = "trinity"; rev = "v${version}"; - sha256 = "0diwkda6n7yw8plfanivncwangk2kv1acxv0kyk3ly5jhlajwc0s"; + sha256 = "1jwgsjjbngn2dsnkflyigy3ajd0szksl30dlaiy02jc6mqi3nr0p"; }; patchPhase = '' patchShebangs ./configure.sh patchShebangs ./scripts/ substituteInPlace Makefile --replace '/usr/bin/wc' 'wc' + substituteInPlace configure.sh --replace '/usr/include/linux' '${linuxHeaders}/include/linux' ''; configurePhase = "./configure.sh";