diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/curl-impersonate/curl-impersonate-0.6.1-fix-command-paths.patch')
-rw-r--r-- | nixpkgs/pkgs/tools/networking/curl-impersonate/curl-impersonate-0.6.1-fix-command-paths.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/networking/curl-impersonate/curl-impersonate-0.6.1-fix-command-paths.patch b/nixpkgs/pkgs/tools/networking/curl-impersonate/curl-impersonate-0.6.1-fix-command-paths.patch new file mode 100644 index 000000000000..04ae8e93595f --- /dev/null +++ b/nixpkgs/pkgs/tools/networking/curl-impersonate/curl-impersonate-0.6.1-fix-command-paths.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.in b/Makefile.in +index 877c54f..3e39ed1 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -209,6 +209,8 @@ $(NSS_VERSION).tar.gz: + + $(nss_static_libs): $(NSS_VERSION).tar.gz + tar xf $(NSS_VERSION).tar.gz ++ sed -i -e "1s@#!/usr/bin/env bash@#!$$(type -p bash)@" $(NSS_VERSION)/nss/build.sh ++ sed -i -e "s@/usr/bin/\(env \)\?grep@$$(type -p grep)@" $(NSS_VERSION)/nss/coreconf/config.gypi + + ifeq ($(host),$(build)) + # Native build, use NSS' build script. |