mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
bowtie: fix build on case insensitive file systems
Add a patch that removes the current source directory from the include search path during compilation so that #include <version> does not end up picking the VERSION source code file.
This commit is contained in:
parent
802a8416b6
commit
81046b393b
@ -19,6 +19,16 @@ stdenv.mkDerivation rec {
|
||||
url = "https://github.com/BenLangmead/bowtie/commit/091d72f4cb69ca0713704d38bd7f9b37e6c4ff2d.patch";
|
||||
sha256 = "sha256-XBvgICUBnE5HKpJ36IHTDiKjJgLFKETsIaJC46uN+2I=";
|
||||
})
|
||||
|
||||
# Without this patch, compilation adds the current source directory to the
|
||||
# include search path, and #include <version> in standard library code can
|
||||
# end up picking the unrelated VERSION source code file on case-insensitive
|
||||
# file systems.
|
||||
(fetchpatch {
|
||||
name = "fix_include_search_path";
|
||||
url = "https://github.com/BenLangmead/bowtie/commit/c208b9db936eab0bc3ffdf0182b4f59a9017a1c4.patch";
|
||||
sha256 = "sha256-772EE+oWFWXssSMabPryb0AfIS1tC10mPTRCBm7RrUs=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
Loading…
Reference in New Issue
Block a user