Skip to content

Commit

Permalink
ncbi_tools: mark as broken and remove -fPIC
Browse files Browse the repository at this point in the history
PIC is used by default since 16.09
  • Loading branch information
globin committed Mar 30, 2017
1 parent 9b89d68 commit b9948fe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkgs/applications/science/biology/ncbi-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,21 @@

stdenv.mkDerivation rec {
name = "ncbi_tools";
ncbi_version="Dec_31_2008";
ncbi_version = "Dec_31_2008";
src = fetchurl {
url = "ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/${ncbi_version}/ncbi_cxx--${ncbi_version}.tar.gz";
sha256 = "1b2v0dcdqn3bysgdkj57sxmd6s0hc9wpnxssviz399g6plhxggbr";
};

configureFlags = "--without-debug --with-bin-release --with-dll --without-static";
# PIC flag (position independent code for shared libraries)
NIX_CXXFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
buildInputs = [cpio];
buildInputs = [ cpio ];

meta = {
description = ''NCBI Bioinformatics toolbox (incl. BLAST)'';
longDescription = ''The NCBI Bioinformatics toolsbox, including command-line utilties, libraries and include files. No X11 support'';
homepage = http://www.ncbi.nlm.nih.gov/IEB/ToolBox/;
license = "GPL";
priority = "5"; # zlib.so gives a conflict with zlib
broken = true;
};
}

0 comments on commit b9948fe

Please sign in to comment.