summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-09-23 20:32:19 +0200
committeraszlig <aszlig@nix.build>2018-09-25 06:55:18 +0200
commitb25b6e0c75867cd0ae9866b7a8f0d6e3a4be54d5 (patch)
treef89167a8d757ad22d2ddf38086e292e13ee332cf /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parent2b4b7d4ef3bba661fbafbced814a8b39c65ea81a (diff)
stdenv: Improve ELF detection for isELF
The isELF function only checks whether ELF is contained within the first 4 bytes of the file, which is a bit fuzzy and will also return successful if it's a text file starting with ELF, for example: ELF headers ----------- Some text here about ELF headers... So instead, we're now doing a precise match on \x7fELF. Signed-off-by: aszlig <aszlig@nix.build> Acked-by: @Ericson2314 Closes: https://github.com/NixOS/nixpkgs/pull/47244
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions