diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2018-08-09 21:04:08 +0200 |
---|---|---|
committer | Silvan Mosberger <infinisil@icloud.com> | 2018-08-09 21:10:39 +0200 |
commit | e554935f51460ebda710683a7186afd92a8f2a2f (patch) | |
tree | 051a0f53c398fe29ed5c8aa4dc63272eb94a3cdc | |
parent | 86e62fcd49a659567a0f90a93c17b65e10f8a6ec (diff) | |
download | nixpkgs-e554935f51460ebda710683a7186afd92a8f2a2f.tar nixpkgs-e554935f51460ebda710683a7186afd92a8f2a2f.tar.gz nixpkgs-e554935f51460ebda710683a7186afd92a8f2a2f.tar.bz2 nixpkgs-e554935f51460ebda710683a7186afd92a8f2a2f.tar.lz nixpkgs-e554935f51460ebda710683a7186afd92a8f2a2f.tar.xz nixpkgs-e554935f51460ebda710683a7186afd92a8f2a2f.tar.zst nixpkgs-e554935f51460ebda710683a7186afd92a8f2a2f.zip |
trinity: 2017-02-13 -> 2018-06-08, fix build, clean up
Fix for old breakage was in https://github.com/kernelslacker/trinity/commit/c93bb184ce996c4d77eefbae2ab0bf74f396ec45
-rw-r--r-- | pkgs/os-specific/linux/trinity/default.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/trinity/default.nix b/pkgs/os-specific/linux/trinity/default.nix index 46b09dce437..54d9a9bafe9 100644 --- a/pkgs/os-specific/linux/trinity/default.nix +++ b/pkgs/os-specific/linux/trinity/default.nix @@ -2,17 +2,21 @@ stdenv.mkDerivation rec { name = "trinity-${version}"; - version = "1.8-git-2017-02-13"; + version = "1.8-git-2018-06-08"; src = fetchFromGitHub { owner = "kernelslacker"; repo = "trinity"; - rev = "2989c11ce77bc7bec23da62987e2c3a0dd8a83c9"; - sha256 = "19asyrypjhx2cgjdmwfvmgc0hk3xg00zvgkl89vwxngdb40bkwfq"; + rev = "1b2d43cb383cef86a05acb2df046ce5e9b17a7fe"; + sha256 = "0dsq10vmd6ii1dnpaqhizk9p8mbd6mwgpmi13b11dxwxpcvbhlar"; }; # Fails on 32-bit otherwise - NIX_CFLAGS_COMPILE = "-Wno-error"; + NIX_CFLAGS_COMPILE = [ + "-Wno-error=int-to-pointer-cast" + "-Wno-error=pointer-to-int-cast" + "-Wno-error=incompatible-pointer-types" + ]; postPatch = '' patchShebangs ./configure @@ -21,11 +25,11 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - installPhase = "make DESTDIR=$out install"; + makeFlags = [ "DESTDIR=$(out)" ]; meta = with stdenv.lib; { description = "A Linux System call fuzz tester"; - homepage = http://codemonkey.org.uk/projects/trinity/; + homepage = https://codemonkey.org.uk/projects/trinity/; license = licenses.gpl2; maintainers = [ maintainers.dezgeg ]; platforms = platforms.linux; |