Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Revert "Introduce patchShebangsPhase ran in preConfigurePhases"

This reverts commit 512fbb280f72980e84230b72b631258df1755919.

See #5368

+178 -17
-6
doc/stdenv.xml
··· 854 </varlistentry> 855 856 <varlistentry> 857 - <term><varname>dontPatchSourceShebangs</varname></term> 858 - <listitem><para>Same as <varname>dontPatchShebangs</varname>, but applied 859 - to the source code before configurePhase.</para></listitem> 860 - </varlistentry> 861 - 862 - <varlistentry> 863 <term><varname>forceShare</varname></term> 864 <listitem><para>The list of directories that must be moved from 865 <filename>$out</filename> to <filename>$out/share</filename>.
··· 854 </varlistentry> 855 856 <varlistentry> 857 <term><varname>forceShare</varname></term> 858 <listitem><para>The list of directories that must be moved from 859 <filename>$out</filename> to <filename>$out/share</filename>.
+4
pkgs/applications/audio/caudec/default.nix
··· 12 sha256 = "5d1f5ab3286bb748bd29cbf45df2ad2faf5ed86070f90deccf71c60be832f3d5"; 13 }; 14 15 buildInputs = [ bash makeWrapper ]; 16 17 installPhase = ''
··· 12 sha256 = "5d1f5ab3286bb748bd29cbf45df2ad2faf5ed86070f90deccf71c60be832f3d5"; 13 }; 14 15 + preBuild = '' 16 + patchShebangs ./install.sh 17 + ''; 18 + 19 buildInputs = [ bash makeWrapper ]; 20 21 installPhase = ''
+2
pkgs/applications/editors/geany/default.nix
··· 18 19 enableParallelBuilding = true; 20 21 # This file should normally require a gtk-update-icon-cache -q /usr/share/icons/hicolor command 22 # It have no reasons to exist in a redistribuable package 23 postInstall = "rm $out/share/icons/hicolor/icon-theme.cache";
··· 18 19 enableParallelBuilding = true; 20 21 + patchPhase = "patchShebangs ."; 22 + 23 # This file should normally require a gtk-update-icon-cache -q /usr/share/icons/hicolor command 24 # It have no reasons to exist in a redistribuable package 25 postInstall = "rm $out/share/icons/hicolor/icon-theme.cache";
+4
pkgs/applications/graphics/shotwell/default.nix
··· 30 31 configureFlags = [ "--disable-gsettings-convert-install" ]; 32 33 postInstall = '' 34 mkdir -p $out/share/gsettings-schemas/$name 35 mv $out/share/glib-2.0 $out/share/gsettings-schemas/$name/
··· 30 31 configureFlags = [ "--disable-gsettings-convert-install" ]; 32 33 + preConfigure = '' 34 + patchShebangs . 35 + ''; 36 + 37 postInstall = '' 38 mkdir -p $out/share/gsettings-schemas/$name 39 mv $out/share/glib-2.0 $out/share/gsettings-schemas/$name/
+1
pkgs/applications/graphics/xara/default.nix
··· 16 17 patches = map fetchurl (import ./debian-patches.nix); 18 19 }
··· 16 17 patches = map fetchurl (import ./debian-patches.nix); 18 19 + prePatch = "patchShebangs Scripts"; 20 }
+1
pkgs/applications/misc/bibletime/default.nix
··· 12 }; 13 14 prePatch = '' 15 ''; 16 17 preConfigure = ''
··· 12 }; 13 14 prePatch = '' 15 + patchShebangs .; 16 ''; 17 18 preConfigure = ''
+1
pkgs/applications/misc/xiphos/default.nix
··· 24 libglade scrollkeeper webkitgtk dbus_glib enchant isocodes libuuid ]; 25 26 prePatch = '' 27 ''; 28 29 preConfigure = ''
··· 24 libglade scrollkeeper webkitgtk dbus_glib enchant isocodes libuuid ]; 25 26 prePatch = '' 27 + patchShebangs .; 28 ''; 29 30 preConfigure = ''
+2
pkgs/applications/networking/browsers/chromium/source/default.nix
··· 20 21 opensslPatches = optional useOpenSSL openssl.patches; 22 23 patches = [ ./sandbox_userns_36.patch ./nix_plugin_paths.patch ]; 24 25 postPatch = ''
··· 20 21 opensslPatches = optional useOpenSSL openssl.patches; 22 23 + prePatch = "patchShebangs ."; 24 + 25 patches = [ ./sandbox_userns_36.patch ./nix_plugin_paths.patch ]; 26 27 postPatch = ''
+2
pkgs/applications/networking/cluster/kubernetes/default.nix
··· 13 14 buildInputs = [ makeWrapper which go iptables rsync ]; 15 16 postBuild = ''go build --ldflags '-extldflags "-static" -s' build/pause/pause.go''; 17 18 installPhase = ''
··· 13 14 buildInputs = [ makeWrapper which go iptables rsync ]; 15 16 + preBuild = "patchShebangs ./hack"; 17 + 18 postBuild = ''go build --ldflags '-extldflags "-static" -s' build/pause/pause.go''; 19 20 installPhase = ''
+1
pkgs/applications/networking/instant-messengers/freetalk/default.nix
··· 28 }; 29 30 preConfigure = '' 31 ./autogen.sh 32 ''; 33
··· 28 }; 29 30 preConfigure = '' 31 + patchShebangs . 32 ./autogen.sh 33 ''; 34
+1
pkgs/applications/networking/instant-messengers/jitsi/default.nix
··· 33 cp resources/install/generic/run.sh $out/bin/jitsi 34 chmod +x $out/bin/jitsi 35 sed -i 's| java | ${jdk}/bin/java |' $out/bin/jitsi 36 ''; 37 38 meta = {
··· 33 cp resources/install/generic/run.sh $out/bin/jitsi 34 chmod +x $out/bin/jitsi 35 sed -i 's| java | ${jdk}/bin/java |' $out/bin/jitsi 36 + patchShebangs $out 37 ''; 38 39 meta = {
+4
pkgs/applications/networking/instant-messengers/kadu/default.nix
··· 21 22 cmakeFlags = "-DENABLE_AUTODOWNLOAD=OFF -DBUILD_DESCRIPTION='NixOS' -DCMAKE_BUILD_TYPE=Release"; 23 24 # Disable the kadu plugins I wasn't able to get to work 25 patchPhase = '' 26 sed -i -e '/mpd_mediaplayer/d' \
··· 21 22 cmakeFlags = "-DENABLE_AUTODOWNLOAD=OFF -DBUILD_DESCRIPTION='NixOS' -DCMAKE_BUILD_TYPE=Release"; 23 24 + prePatch = '' 25 + patchShebangs . 26 + ''; 27 + 28 # Disable the kadu plugins I wasn't able to get to work 29 patchPhase = '' 30 sed -i -e '/mpd_mediaplayer/d' \
+2
pkgs/applications/networking/mailreaders/thunderbird/default.nix
··· 71 ++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding"; 72 73 configurePhase = '' 74 echo '${stdenv.lib.concatMapStrings (s : "ac_add_options ${s}\n") configureFlags}' > .mozconfig 75 echo "ac_add_options --prefix='$out'" >> .mozconfig 76 echo "mk_add_options MOZ_MAKE_FLAGS='-j$NIX_BUILD_CORES'" >> .mozconfig
··· 71 ++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding"; 72 73 configurePhase = '' 74 + patchShebangs . 75 + 76 echo '${stdenv.lib.concatMapStrings (s : "ac_add_options ${s}\n") configureFlags}' > .mozconfig 77 echo "ac_add_options --prefix='$out'" >> .mozconfig 78 echo "mk_add_options MOZ_MAKE_FLAGS='-j$NIX_BUILD_CORES'" >> .mozconfig
+1
pkgs/applications/networking/p2p/gnunet/default.nix
··· 38 39 # Ensure NSS installation works fine 40 configureFlags="$configureFlags --with-nssdir=$out/lib" 41 ''; 42 43 doCheck = false;
··· 38 39 # Ensure NSS installation works fine 40 configureFlags="$configureFlags --with-nssdir=$out/lib" 41 + patchShebangs src/gns/nss/install-nss-plugin.sh 42 ''; 43 44 doCheck = false;
+1
pkgs/applications/networking/p2p/gnunet/svn.nix
··· 47 48 # Ensure NSS installation works fine 49 configureFlags="$configureFlags --with-nssdir=$out/lib" 50 51 sh contrib/pogen.sh 52 sh bootstrap
··· 47 48 # Ensure NSS installation works fine 49 configureFlags="$configureFlags --with-nssdir=$out/lib" 50 + patchShebangs src/gns/nss/install-nss-plugin.sh 51 52 sh contrib/pogen.sh 53 sh bootstrap
+2
pkgs/applications/science/logic/cvc4/default.nix
··· 9 10 buildInputs = [ gmp libantlr3c boost ]; 11 12 doChecks = true; 13 14 meta = with stdenv.lib; {
··· 9 10 buildInputs = [ gmp libantlr3c boost ]; 11 12 + preConfigure = "patchShebangs ./src/"; 13 + 14 doChecks = true; 15 16 meta = with stdenv.lib; {
+1
pkgs/applications/science/logic/isabelle/default.nix
··· 27 28 postPatch = '' 29 ENV=$(type -p env) 30 substituteInPlace lib/Tools/env \ 31 --replace /usr/bin/env $ENV 32 substituteInPlace lib/Tools/install \
··· 27 28 postPatch = '' 29 ENV=$(type -p env) 30 + patchShebangs "." 31 substituteInPlace lib/Tools/env \ 32 --replace /usr/bin/env $ENV 33 substituteInPlace lib/Tools/install \
+6
pkgs/applications/video/cmplayer/default.nix
··· 54 ++ optional cddaSupport libcdda 55 ; 56 57 58 configureFlags = with stdenv.lib; 59 [ "--qmake=qmake" ] ··· 62 ++ optional pulseSupport "--enable-pulseaudio" 63 ++ optional cddaSupport "--enable-cdda" 64 ; 65 66 nativeBuildInputs = [ pkgconfig python2 perl ]; 67
··· 54 ++ optional cddaSupport libcdda 55 ; 56 57 + preConfigure = '' 58 + patchShebangs ./configure 59 + patchShebangs src/mpv/waf 60 + ''; 61 62 configureFlags = with stdenv.lib; 63 [ "--qmake=qmake" ] ··· 66 ++ optional pulseSupport "--enable-pulseaudio" 67 ++ optional cddaSupport "--enable-cdda" 68 ; 69 + 70 + preBuild = "patchShebangs ./build-mpv"; 71 72 nativeBuildInputs = [ pkgconfig python2 perl ]; 73
+4
pkgs/applications/video/mplayer2/default.nix
··· 103 104 nativeBuildInputs = [ yasm python3 ]; 105 106 configureFlags = with stdenv.lib; 107 '' 108 ${optionalString (useUnfreeCodecs && codecs != null) "--codecsdir=${codecs}"}
··· 103 104 nativeBuildInputs = [ yasm python3 ]; 105 106 + postConfigure = '' 107 + patchShebangs TOOLS 108 + ''; 109 + 110 configureFlags = with stdenv.lib; 111 '' 112 ${optionalString (useUnfreeCodecs && codecs != null) "--codecsdir=${codecs}"}
+1
pkgs/applications/video/mpv/default.nix
··· 97 98 configurePhase = '' 99 python3 ${waf} configure --prefix=$out ${lib.optionalString vaapiSupport "--enable-vaapi"} 100 ''; 101 102 buildPhase = ''
··· 97 98 configurePhase = '' 99 python3 ${waf} configure --prefix=$out ${lib.optionalString vaapiSupport "--enable-vaapi"} 100 + patchShebangs TOOLS 101 ''; 102 103 buildPhase = ''
+1
pkgs/applications/virtualization/docker/default.nix
··· 15 dontStrip = true; 16 17 buildPhase = '' 18 export AUTO_GOPATH=1 19 export DOCKER_GITCOMMIT="c78088f" 20 ./hack/make.sh dynbinary
··· 15 dontStrip = true; 16 17 buildPhase = '' 18 + patchShebangs ./hack 19 export AUTO_GOPATH=1 20 export DOCKER_GITCOMMIT="c78088f" 21 ./hack/make.sh dynbinary
+4
pkgs/applications/window-managers/i3/default.nix
··· 18 perlPackages.ExtUtilsPkgConfig perlPackages.TestMore perlPackages.InlineC 19 ]; 20 21 doCheck = stdenv.system == "x86_64-linux"; 22 23 checkPhase = ''
··· 18 perlPackages.ExtUtilsPkgConfig perlPackages.TestMore perlPackages.InlineC 19 ]; 20 21 + postPatch = '' 22 + patchShebangs . 23 + ''; 24 + 25 doCheck = stdenv.system == "x86_64-linux"; 26 27 checkPhase = ''
-6
pkgs/build-support/setup-hooks/patch-shebangs.sh
··· 7 8 fixupOutputHooks+=('if [ -z "$dontPatchShebangs" ]; then patchShebangs "$prefix"; fi') 9 10 - preConfigurePhases+=" patchShebangsPhase" 11 - 12 - patchShebangsPhase() { 13 - if [ -z "$dontPatchSourceShebangs" ]; then patchShebangs "."; fi 14 - } 15 - 16 patchShebangs() { 17 local dir="$1" 18 header "patching script interpreter paths in $dir"
··· 7 8 fixupOutputHooks+=('if [ -z "$dontPatchShebangs" ]; then patchShebangs "$prefix"; fi') 9 10 patchShebangs() { 11 local dir="$1" 12 header "patching script interpreter paths in $dir"
+5
pkgs/data/documentation/stdman/default.nix
··· 11 sha256 = "09c5gjhcz97ghfrv9zkgfb1wckvmqnhbzga0xidbm1ir7640di8l"; 12 }; 13 14 buildInputs = [ curl ]; 15 16 meta = with stdenv.lib; {
··· 11 sha256 = "09c5gjhcz97ghfrv9zkgfb1wckvmqnhbzga0xidbm1ir7640di8l"; 12 }; 13 14 + preConfigure = " 15 + patchShebangs ./configure 16 + patchShebangs ./do_install 17 + "; 18 + 19 buildInputs = [ curl ]; 20 21 meta = with stdenv.lib; {
+2
pkgs/desktops/cinnamon/cjs.nix
··· 19 gobjectIntrospection 20 ]; 21 22 meta = { 23 homepage = "http://cinnamon.linuxmint.com"; 24 description = "JavaScript bindings for Cinnamon" ;
··· 19 gobjectIntrospection 20 ]; 21 22 + preBuild = "patchShebangs ./scripts"; 23 + 24 meta = { 25 homepage = "http://cinnamon.linuxmint.com"; 26 description = "JavaScript bindings for Cinnamon" ;
+3
pkgs/desktops/cinnamon/muffin.nix
··· 25 clutter cogl zenity python 26 gnome_doc_utils makeWrapper]; 27 28 postFixup = '' 29 30 for f in "$out/bin/"*; do
··· 25 clutter cogl zenity python 26 gnome_doc_utils makeWrapper]; 27 28 + preBuild = "patchShebangs ./scripts"; 29 + 30 + 31 postFixup = '' 32 33 for f in "$out/bin/"*; do
+4
pkgs/desktops/gnome-3/3.12/core/caribou/default.nix
··· 16 17 propagatedBuildInputs = [ gnome3.libgee libxklavier ]; 18 19 meta = with stdenv.lib; { 20 platforms = platforms.linux; 21 };
··· 16 17 propagatedBuildInputs = [ gnome3.libgee libxklavier ]; 18 19 + preBuild = '' 20 + patchShebangs . 21 + ''; 22 + 23 meta = with stdenv.lib; { 24 platforms = platforms.linux; 25 };
+1
pkgs/desktops/gnome-3/3.12/core/gnome-shell/default.nix
··· 27 installFlags = [ "keysdir=$(out)/share/gnome-control-center/keybindings" ]; 28 29 preBuild = '' 30 substituteInPlace data/Makefile --replace " install-keysDATA" "" 31 ''; 32
··· 27 installFlags = [ "keysdir=$(out)/share/gnome-control-center/keybindings" ]; 28 29 preBuild = '' 30 + patchShebangs src/data-to-c.pl 31 substituteInPlace data/Makefile --replace " install-keysDATA" "" 32 ''; 33
+2
pkgs/desktops/gnome-3/3.12/core/vte/0.38.0.nix
··· 17 18 buildInputs = [ gobjectIntrospection intltool pkgconfig gnome3.glib gnome3.gtk3 ncurses vala libxml2 ]; 19 20 configureFlags = [ "--enable-introspection" ]; 21 22 enableParallelBuilding = true;
··· 17 18 buildInputs = [ gobjectIntrospection intltool pkgconfig gnome3.glib gnome3.gtk3 ncurses vala libxml2 ]; 19 20 + preConfigure = "patchShebangs ."; 21 + 22 configureFlags = [ "--enable-introspection" ]; 23 24 enableParallelBuilding = true;
+1
pkgs/development/compilers/go/1.1-darwin.nix
··· 22 fi 23 cd go 24 25 rm src/pkg/net/{multicast_test.go,parse_test.go,port_test.go} 26 # The os test wants to read files in an existing path. Just it don't be /usr/bin. 27 sed -i 's,/usr/bin,'"`pwd`", src/pkg/os/os_test.go
··· 22 fi 23 cd go 24 25 + patchShebangs ./ # replace /bin/bash 26 rm src/pkg/net/{multicast_test.go,parse_test.go,port_test.go} 27 # The os test wants to read files in an existing path. Just it don't be /usr/bin. 28 sed -i 's,/usr/bin,'"`pwd`", src/pkg/os/os_test.go
+1
pkgs/development/compilers/go/1.1.nix
··· 33 fi 34 cd go 35 36 # !!! substituteInPlace does not seems to be effective. 37 sed -i 's,/lib/ld-linux.so.2,${loader386},' src/cmd/8l/asm.c 38 sed -i 's,/lib64/ld-linux-x86-64.so.2,${loaderAmd64},' src/cmd/6l/asm.c
··· 33 fi 34 cd go 35 36 + patchShebangs ./ # replace /bin/bash 37 # !!! substituteInPlace does not seems to be effective. 38 sed -i 's,/lib/ld-linux.so.2,${loader386},' src/cmd/8l/asm.c 39 sed -i 's,/lib64/ld-linux-x86-64.so.2,${loaderAmd64},' src/cmd/6l/asm.c
+1
pkgs/development/compilers/go/1.2.nix
··· 32 fi 33 cd go 34 35 # !!! substituteInPlace does not seems to be effective. 36 sed -i 's,/lib/ld-linux.so.2,${loader386},' src/cmd/8l/asm.c 37 sed -i 's,/lib64/ld-linux-x86-64.so.2,${loaderAmd64},' src/cmd/6l/asm.c
··· 32 fi 33 cd go 34 35 + patchShebangs ./ # replace /bin/bash 36 # !!! substituteInPlace does not seems to be effective. 37 sed -i 's,/lib/ld-linux.so.2,${loader386},' src/cmd/8l/asm.c 38 sed -i 's,/lib64/ld-linux-x86-64.so.2,${loaderAmd64},' src/cmd/6l/asm.c
+1
pkgs/development/compilers/go/default.nix
··· 30 fi 31 cd go 32 33 # !!! substituteInPlace does not seems to be effective. 34 sed -i 's,/lib/ld-linux.so.2,${loader386},' src/cmd/8l/asm.c 35 sed -i 's,/lib64/ld-linux-x86-64.so.2,${loaderAmd64},' src/cmd/6l/asm.c
··· 30 fi 31 cd go 32 33 + patchShebangs ./ # replace /bin/bash 34 # !!! substituteInPlace does not seems to be effective. 35 sed -i 's,/lib/ld-linux.so.2,${loader386},' src/cmd/8l/asm.c 36 sed -i 's,/lib64/ld-linux-x86-64.so.2,${loaderAmd64},' src/cmd/6l/asm.c
+2
pkgs/development/compilers/julia/0.3.3.nix
··· 106 107 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/usr/lib:$PWD/usr/lib/julia" 108 109 export PATH="$PATH:${stdenv.cc.libc}/sbin" 110 111 # ldconfig doesn't seem to ever work on NixOS; system-wide ldconfig cache
··· 106 107 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/usr/lib:$PWD/usr/lib/julia" 108 109 + patchShebangs . contrib 110 + 111 export PATH="$PATH:${stdenv.cc.libc}/sbin" 112 113 # ldconfig doesn't seem to ever work on NixOS; system-wide ldconfig cache
+1
pkgs/development/compilers/mono/default.nix
··· 35 # LLVM path to point into the Mono LLVM build, since it's private anyway. 36 preBuild = '' 37 makeFlagsArray=(INSTALL=`type -tp install`) 38 '' + stdenv.lib.optionalString withLLVM '' 39 substituteInPlace mono/mini/aot-compiler.c --replace "llvm_path = g_strdup (\"\")" "llvm_path = g_strdup (\"${llvm}/bin/\")" 40 '';
··· 35 # LLVM path to point into the Mono LLVM build, since it's private anyway. 36 preBuild = '' 37 makeFlagsArray=(INSTALL=`type -tp install`) 38 + patchShebangs ./ 39 '' + stdenv.lib.optionalString withLLVM '' 40 substituteInPlace mono/mini/aot-compiler.c --replace "llvm_path = g_strdup (\"\")" "llvm_path = g_strdup (\"${llvm}/bin/\")" 41 '';
+1
pkgs/development/compilers/opa/default.nix
··· 19 codeGeneratorPaths = "${ocamlPackages.ocaml}/bin:${gcc}/bin:${binutils}/bin:${gnumake}/bin:${nodejs}/bin"; 20 21 preConfigure = '' 22 ( 23 cat ./compiler/buildinfos/buildInfos.ml.pre 24 ./compiler/buildinfos/generate_buildinfos.sh . --release --version ./compiler/buildinfos/version_major.txt
··· 19 codeGeneratorPaths = "${ocamlPackages.ocaml}/bin:${gcc}/bin:${binutils}/bin:${gnumake}/bin:${nodejs}/bin"; 20 21 preConfigure = '' 22 + patchShebangs . 23 ( 24 cat ./compiler/buildinfos/buildInfos.ml.pre 25 ./compiler/buildinfos/generate_buildinfos.sh . --release --version ./compiler/buildinfos/version_major.txt
+1
pkgs/development/libraries/agda/agda-iowa-stdlib/default.nix
··· 12 13 sourceDirectories = [ "./." ]; 14 buildPhase = '' 15 make 16 ''; 17
··· 12 13 sourceDirectories = [ "./." ]; 14 buildPhase = '' 15 + patchShebangs find-deps.sh 16 make 17 ''; 18
+1
pkgs/development/libraries/dbus/default.nix
··· 47 buildInputs = [ autoconf automake libtool ]; # ToDo: optional selinux? 48 49 preConfigure = '' 50 substituteInPlace tools/Makefile.am --replace 'install-localstatelibDATA:' 'disabled:' 51 autoreconf -fi 52 '';
··· 47 buildInputs = [ autoconf automake libtool ]; # ToDo: optional selinux? 48 49 preConfigure = '' 50 + patchShebangs . 51 substituteInPlace tools/Makefile.am --replace 'install-localstatelibDATA:' 'disabled:' 52 autoreconf -fi 53 '';
+3
pkgs/development/libraries/folly/default.nix
··· 17 nativeBuildInputs = [ autoreconfHook python boost ]; 18 19 postUnpack = "sourceRoot=\${sourceRoot}/folly"; 20 21 configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]; 22
··· 17 nativeBuildInputs = [ autoreconfHook python boost ]; 18 19 postUnpack = "sourceRoot=\${sourceRoot}/folly"; 20 + preBuild = '' 21 + patchShebangs build 22 + ''; 23 24 configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]; 25
+1
pkgs/development/libraries/hspell/default.nix
··· 13 sha256 = "08x7rigq5pa1pfpl30qp353hbdkpadr1zc49slpczhsn0sg36pd6"; 14 }; 15 16 buildInputs = [ perl zlib ]; 17 18 makeFlags = "CFLAGS=-fPIC";
··· 13 sha256 = "08x7rigq5pa1pfpl30qp353hbdkpadr1zc49slpczhsn0sg36pd6"; 14 }; 15 16 + patchPhase = ''patchShebangs .''; 17 buildInputs = [ perl zlib ]; 18 19 makeFlags = "CFLAGS=-fPIC";
+1
pkgs/development/libraries/ibus/default.nix
··· 20 ]; 21 22 preBuild = '' 23 substituteInPlace data/dconf/Makefile --replace "dconf update" "echo" 24 ''; 25
··· 20 ]; 21 22 preBuild = '' 23 + patchShebangs ./scripts 24 substituteInPlace data/dconf/Makefile --replace "dconf update" "echo" 25 ''; 26
+2 -1
pkgs/development/libraries/libcouchbase/default.nix
··· 11 }; 12 13 preConfigure = '' 14 ./config/autorun.sh 15 ''; 16 ··· 24 license = stdenv.lib.licenses.asl20; 25 platforms = stdenv.lib.platforms.unix; 26 }; 27 - }
··· 11 }; 12 13 preConfigure = '' 14 + patchShebangs ./config/ 15 ./config/autorun.sh 16 ''; 17 ··· 25 license = stdenv.lib.licenses.asl20; 26 platforms = stdenv.lib.platforms.unix; 27 }; 28 + }
+4
pkgs/development/libraries/libctemplate/default.nix
··· 12 13 buildInputs = [ python ]; 14 15 meta = { 16 description = "A simple but powerful template language for C++"; 17 longDescription = ''
··· 12 13 buildInputs = [ python ]; 14 15 + postPatch = '' 16 + patchShebangs . 17 + ''; 18 + 19 meta = { 20 description = "A simple but powerful template language for C++"; 21 longDescription = ''
+4
pkgs/development/libraries/libqmi/default.nix
··· 8 sha256 = "03gf221yjcdzvnl4v2adwpc6cyg5mlbccn20s00fp5bgvmq81pgs"; 9 }; 10 11 buildInputs = [ pkgconfig glib python ]; 12 13 meta = with stdenv.lib; {
··· 8 sha256 = "03gf221yjcdzvnl4v2adwpc6cyg5mlbccn20s00fp5bgvmq81pgs"; 9 }; 10 11 + preBuild = '' 12 + patchShebangs . 13 + ''; 14 + 15 buildInputs = [ pkgconfig glib python ]; 16 17 meta = with stdenv.lib; {
+4
pkgs/development/libraries/libsoup/default.nix
··· 14 sha256 = "ea34dd64fe44343445daf6dd690d0691e9d973468de44878da97371c16d89784"; 15 }; 16 17 buildInputs = libintlOrEmpty ++ [ intltool python ]; 18 nativeBuildInputs = [ pkgconfig ]; 19 propagatedBuildInputs = [ glib libxml2 gobjectIntrospection ]
··· 14 sha256 = "ea34dd64fe44343445daf6dd690d0691e9d973468de44878da97371c16d89784"; 15 }; 16 17 + patchPhase = '' 18 + patchShebangs libsoup/ 19 + ''; 20 + 21 buildInputs = libintlOrEmpty ++ [ intltool python ]; 22 nativeBuildInputs = [ pkgconfig ]; 23 propagatedBuildInputs = [ glib libxml2 gobjectIntrospection ]
+1
pkgs/development/libraries/libvirt/default.nix
··· 25 26 preConfigure = '' 27 PATH=${iproute}/sbin:${iptables}/sbin:${ebtables}/sbin:${lvm2}/sbin:${udev}/sbin:${dnsmasq}/bin:$PATH 28 ''; 29 30 configureFlags = [
··· 25 26 preConfigure = '' 27 PATH=${iproute}/sbin:${iptables}/sbin:${ebtables}/sbin:${lvm2}/sbin:${udev}/sbin:${dnsmasq}/bin:$PATH 28 + patchShebangs . # fixes /usr/bin/python references 29 ''; 30 31 configureFlags = [
+2
pkgs/development/libraries/lirc/default.nix
··· 15 }) 16 ]; 17 18 buildInputs = [ alsaLib help2man ]; 19 20 configureFlags = [
··· 15 }) 16 ]; 17 18 + preBuild = "patchShebangs ."; 19 + 20 buildInputs = [ alsaLib help2man ]; 21 22 configureFlags = [
+2
pkgs/development/libraries/mesa-darwin/default.nix
··· 41 ./patches/patch-src-mapi-vgapi-Makefile.diff 42 ]; 43 44 configurePhase = ":"; 45 46 makeFlags = "INSTALL_DIR=\${out} CC=cc CXX=c++";
··· 41 ./patches/patch-src-mapi-vgapi-Makefile.diff 42 ]; 43 44 + postPatch = "patchShebangs ."; 45 + 46 configurePhase = ":"; 47 48 makeFlags = "INSTALL_DIR=\${out} CC=cc CXX=c++";
+1
pkgs/development/libraries/mesa/default.nix
··· 38 sha256 = "f6031f8b7113a92325b60635c504c510490eebb2e707119bbff7bd86aa34657d"; 39 }; 40 41 42 patches = [ 43 ./static-gallium.patch
··· 38 sha256 = "f6031f8b7113a92325b60635c504c510490eebb2e707119bbff7bd86aa34657d"; 39 }; 40 41 + prePatch = "patchShebangs ."; 42 43 patches = [ 44 ./static-gallium.patch
+3 -1
pkgs/development/libraries/polkit/default.nix
··· 35 ( map (var: ''-DPACKAGE_${var}_DIR=\""${builtins.getAttr var foolVars}"\"'') 36 (builtins.attrNames foolVars) ); 37 38 - preConfigure = stdenv.lib.optionalString useSystemd /* bogus chroot detection */ '' 39 sed '/libsystemd-login autoconfigured, but system does not appear to use systemd/s/.*/:/' -i configure 40 '' 41 # ‘libpolkit-agent-1.so’ should call the setuid wrapper on
··· 35 ( map (var: ''-DPACKAGE_${var}_DIR=\""${builtins.getAttr var foolVars}"\"'') 36 (builtins.attrNames foolVars) ); 37 38 + preConfigure = '' 39 + patchShebangs . 40 + '' + stdenv.lib.optionalString useSystemd /* bogus chroot detection */ '' 41 sed '/libsystemd-login autoconfigured, but system does not appear to use systemd/s/.*/:/' -i configure 42 '' 43 # ‘libpolkit-agent-1.so’ should call the setuid wrapper on
+2
pkgs/development/libraries/qpdf/default.nix
··· 15 buildInputs = [ pcre zlib ]; 16 17 postPatch = '' 18 ''; 19 20 preCheck = '' 21 ''; 22 23 doCheck = true;
··· 15 buildInputs = [ pcre zlib ]; 16 17 postPatch = '' 18 + patchShebangs qpdf/fix-qdf 19 ''; 20 21 preCheck = '' 22 + patchShebangs qtest/bin/qtest-driver 23 ''; 24 25 doCheck = true;
+4
pkgs/development/libraries/sword/default.nix
··· 13 14 buildInputs = [ pkgconfig icu clucene_core curl ]; 15 16 configureFlags = "--without-conf --enable-tests=no CXXFLAGS=-Wno-unused-but-set-variable"; 17 18 meta = with stdenv.lib; {
··· 13 14 buildInputs = [ pkgconfig icu clucene_core curl ]; 15 16 + prePatch = '' 17 + patchShebangs .; 18 + ''; 19 + 20 configureFlags = "--without-conf --enable-tests=no CXXFLAGS=-Wno-unused-but-set-variable"; 21 22 meta = with stdenv.lib; {
+4
pkgs/development/libraries/webkitgtk/2.4.6.nix
··· 28 29 CC = "cc"; 30 31 configureFlags = with stdenv.lib; [ 32 "--disable-geolocation" 33 (optionalString enableIntrospection "--enable-introspection")
··· 28 29 CC = "cc"; 30 31 + prePatch = '' 32 + patchShebangs Tools/gtk 33 + ''; 34 + 35 configureFlags = with stdenv.lib; [ 36 "--disable-geolocation" 37 (optionalString enableIntrospection "--enable-introspection")
+2
pkgs/development/libraries/webkitgtk/default.nix
··· 17 maintainers = with maintainers; [ iyzsong koral ]; 18 }; 19 20 src = fetchurl { 21 url = "http://webkitgtk.org/releases/${name}.tar.xz"; 22 sha256 = "1f9qm5g1mbjm2hrnlzymas99piws4h4y3yxz4p6f6gavnsvfjwji";
··· 17 maintainers = with maintainers; [ iyzsong koral ]; 18 }; 19 20 + preConfigure = "patchShebangs Tools"; 21 + 22 src = fetchurl { 23 url = "http://webkitgtk.org/releases/${name}.tar.xz"; 24 sha256 = "1f9qm5g1mbjm2hrnlzymas99piws4h4y3yxz4p6f6gavnsvfjwji";
+2
pkgs/development/libraries/zeitgeist/default.nix
··· 21 libtool python dbus_libs telepathy_glib vala dbus_glib 22 gtk3 json_glib librdf_raptor2 pythonPackages.rdflib ]; 23 24 patches = [ ./dbus_glib.patch ]; 25 26 patchFlags = [ "-p0" ];
··· 21 libtool python dbus_libs telepathy_glib vala dbus_glib 22 gtk3 json_glib librdf_raptor2 pythonPackages.rdflib ]; 23 24 + prePatch = "patchShebangs ."; 25 + 26 patches = [ ./dbus_glib.patch ]; 27 28 patchFlags = [ "-p0" ];
+2
pkgs/development/ocaml-modules/javalib/default.nix
··· 20 21 createFindlibDestdir = true; 22 23 configureScript = "./configure.sh"; 24 dontAddPrefix = "true"; 25
··· 20 21 createFindlibDestdir = true; 22 23 + preConfigure = "patchShebangs ./configure.sh"; 24 + 25 configureScript = "./configure.sh"; 26 dontAddPrefix = "true"; 27
+2
pkgs/development/ocaml-modules/sawja/default.nix
··· 22 23 createFindlibDestdir = true; 24 25 configureScript = "./configure.sh"; 26 dontAddPrefix = "true"; 27
··· 22 23 createFindlibDestdir = true; 24 25 + preConfigure = "patchShebangs ./configure.sh"; 26 + 27 configureScript = "./configure.sh"; 28 dontAddPrefix = "true"; 29
+2
pkgs/development/python-modules/dbus/default.nix
··· 8 sha256 = "1py62qir966lvdkngg0v8k1khsqxwk5m4s8nflpk1agk5f5nqb71"; 9 }; 10 11 buildInputs = [ python pkgconfig dbus dbus_glib ] 12 ++ stdenv.lib.optional doCheck dbus_tools; 13
··· 8 sha256 = "1py62qir966lvdkngg0v8k1khsqxwk5m4s8nflpk1agk5f5nqb71"; 9 }; 10 11 + postPatch = "patchShebangs ."; 12 + 13 buildInputs = [ python pkgconfig dbus dbus_glib ] 14 ++ stdenv.lib.optional doCheck dbus_tools; 15
+8
pkgs/development/r-modules/default.nix
··· 916 ]; 917 918 otherOverrides = old: new: { 919 BayesXsrc = old.BayesXsrc.overrideDerivation (attrs: { 920 patches = [ ./patches/BayesXsrc.patch ]; 921 });
··· 916 ]; 917 918 otherOverrides = old: new: { 919 + RcppArmadillo = old.RcppArmadillo.overrideDerivation (attrs: { 920 + patchPhase = "patchShebangs configure"; 921 + }); 922 + 923 + rpf = old.rpf.overrideDerivation (attrs: { 924 + patchPhase = "patchShebangs configure"; 925 + }); 926 + 927 BayesXsrc = old.BayesXsrc.overrideDerivation (attrs: { 928 patches = [ ./patches/BayesXsrc.patch ]; 929 });
+2 -1
pkgs/development/tools/build-managers/icmake/default.nix
··· 10 }; 11 12 preConfigure = '' 13 sed -i "s;usr/;;g" INSTALL.im 14 ''; 15 ··· 24 maintainers = with maintainers; [ pSub ]; 25 platforms = platforms.linux; 26 }; 27 - }
··· 10 }; 11 12 preConfigure = '' 13 + patchShebangs ./ 14 sed -i "s;usr/;;g" INSTALL.im 15 ''; 16 ··· 25 maintainers = with maintainers; [ pSub ]; 26 platforms = platforms.linux; 27 }; 28 + }
+3 -1
pkgs/development/tools/documentation/doxygen/default.nix
··· 24 ++ stdenv.lib.optional (qt4 != null) "--with-doxywizard"; 25 26 preConfigure = 27 - stdenv.lib.optionalString (qt4 != null) 28 '' 29 echo "using QTDIR=${qt4}..." 30 export QTDIR=${qt4}
··· 24 ++ stdenv.lib.optional (qt4 != null) "--with-doxywizard"; 25 26 preConfigure = 27 + '' 28 + patchShebangs . 29 + '' + stdenv.lib.optionalString (qt4 != null) 30 '' 31 echo "using QTDIR=${qt4}..." 32 export QTDIR=${qt4}
+1
pkgs/development/tools/misc/yodl/default.nix
··· 12 }; 13 14 preConfigure = '' 15 sed -i 's;/usr;;g' INSTALL.im 16 substituteInPlace build --replace /usr/bin/icmake ${icmake}/bin/icmake 17 substituteInPlace macros/rawmacros/startdoc.pl --replace /usr/bin/perl ${perl}/bin/perl
··· 12 }; 13 14 preConfigure = '' 15 + patchShebangs scripts/. 16 sed -i 's;/usr;;g' INSTALL.im 17 substituteInPlace build --replace /usr/bin/icmake ${icmake}/bin/icmake 18 substituteInPlace macros/rawmacros/startdoc.pl --replace /usr/bin/perl ${perl}/bin/perl
+4
pkgs/games/crawl/default.nix
··· 25 cd source 26 # Related to issue #1963 27 sed -i 's/-fuse-ld=gold//g' Makefile 28 ''; 29 30 makeFlags = [ "prefix=$(out)" "FORCE_CC=gcc" "FORCE_CXX=g++" "HOSTCXX=g++"
··· 25 cd source 26 # Related to issue #1963 27 sed -i 's/-fuse-ld=gold//g' Makefile 28 + for i in util/*.pl; do 29 + patchShebangs $i 30 + done 31 + patchShebangs util/gen-mi-enum 32 ''; 33 34 makeFlags = [ "prefix=$(out)" "FORCE_CC=gcc" "FORCE_CXX=g++" "HOSTCXX=g++"
+2
pkgs/misc/vim-plugins/default.nix
··· 527 configurePhase = ":"; 528 529 buildPhase = '' 530 target=$out/${rtpPath}/youcompleteme 531 mkdir -p $target 532 cp -a ./ $target
··· 527 configurePhase = ":"; 528 529 buildPhase = '' 530 + patchShebangs . 531 + 532 target=$out/${rtpPath}/youcompleteme 533 mkdir -p $target 534 cp -a ./ $target
+1
pkgs/os-specific/darwin/cctools-port/default.nix
··· 22 enableParallelBuilding = true; 23 24 postPatch = '' 25 sed -i -e 's/which/type -P/' tools/*.sh 26 sed -i -e 's|clang++|& -I${libcxx}/include/c++/v1|' cctools/autogen.sh 27
··· 22 enableParallelBuilding = true; 23 24 postPatch = '' 25 + patchShebangs tools 26 sed -i -e 's/which/type -P/' tools/*.sh 27 sed -i -e 's|clang++|& -I${libcxx}/include/c++/v1|' cctools/autogen.sh 28
+2
pkgs/os-specific/linux/hwdata/default.nix
··· 8 sha256 = "1ak3h3psg3wk9yk0dqnzdzik3jadzja3ah22vjfmf71p3b5xc8ai"; 9 }; 10 11 configureFlags = "--datadir=$(prefix)/data"; 12 13 meta = {
··· 8 sha256 = "1ak3h3psg3wk9yk0dqnzdzik3jadzja3ah22vjfmf71p3b5xc8ai"; 9 }; 10 11 + preConfigure = "patchShebangs ./configure"; 12 + 13 configureFlags = "--datadir=$(prefix)/data"; 14 15 meta = {
+2
pkgs/os-specific/linux/x86info/default.nix
··· 10 }; 11 12 preConfigure = '' 13 # ignore warnings 14 sed -i 's/-Werror -Wall//' Makefile 15 '';
··· 10 }; 11 12 preConfigure = '' 13 + patchShebangs . 14 + 15 # ignore warnings 16 sed -i 's/-Werror -Wall//' Makefile 17 '';
+5
pkgs/servers/amqp/rabbitmq-server/default.nix
··· 14 buildInputs = 15 [ erlang python libxml2 libxslt xmlto docbook_xml_dtd_45 docbook_xsl zip unzip ]; 16 17 18 installFlags = "TARGET_DIR=$(out)/libexec/rabbitmq SBIN_DIR=$(out)/sbin MAN_DIR=$(out)/share/man DOC_INSTALL_DIR=$(out)/share/doc"; 19
··· 14 buildInputs = 15 [ erlang python libxml2 libxslt xmlto docbook_xml_dtd_45 docbook_xsl zip unzip ]; 16 17 + preBuild = 18 + '' 19 + # Fix the "/usr/bin/env" in "calculate-relative". 20 + patchShebangs . 21 + ''; 22 23 installFlags = "TARGET_DIR=$(out)/libexec/rabbitmq SBIN_DIR=$(out)/sbin MAN_DIR=$(out)/share/man DOC_INSTALL_DIR=$(out)/share/doc"; 24
+1
pkgs/servers/fleet/default.nix
··· 14 buildInputs = [ go ]; 15 16 buildPhase = '' 17 ./build 18 ''; 19
··· 14 buildInputs = [ go ]; 15 16 buildPhase = '' 17 + patchShebangs build 18 ./build 19 ''; 20
+1
pkgs/servers/gpsd/default.nix
··· 36 # 'chrpath' is used to be able to run the tests from the source tree, but 37 # we use $LD_LIBRARY_PATH instead. 38 buildPhase = '' 39 mkdir -p "$out" 40 sed -e "s|python_lib_dir = .*|python_lib_dir = \"$out/lib/${pythonFull.libPrefix}/site-packages\"|" -i SConstruct 41 scons prefix="$out" leapfetch=no gpsd_user=${gpsdUser} gpsd_group=${gpsdGroup} \
··· 36 # 'chrpath' is used to be able to run the tests from the source tree, but 37 # we use $LD_LIBRARY_PATH instead. 38 buildPhase = '' 39 + patchShebangs . 40 mkdir -p "$out" 41 sed -e "s|python_lib_dir = .*|python_lib_dir = \"$out/lib/${pythonFull.libPrefix}/site-packages\"|" -i SConstruct 42 scons prefix="$out" leapfetch=no gpsd_user=${gpsdUser} gpsd_group=${gpsdGroup} \
+1
pkgs/servers/http/openresty/default.nix
··· 52 preConfigure = '' 53 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2}/include/libxml2 $additionalFlags" 54 export PATH="$PATH:${stdenv.cc.libc}/sbin" 55 ''; 56 57 meta = {
··· 52 preConfigure = '' 53 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2}/include/libxml2 $additionalFlags" 54 export PATH="$PATH:${stdenv.cc.libc}/sbin" 55 + patchShebangs . 56 ''; 57 58 meta = {
+1
pkgs/servers/nosql/rethinkdb/default.nix
··· 10 11 preConfigure = '' 12 export ALLOW_WARNINGS=1 13 ''; 14 15 configureFlags = "--lib-path ${gperftools}/lib";
··· 10 11 preConfigure = '' 12 export ALLOW_WARNINGS=1 13 + patchShebangs . 14 ''; 15 16 configureFlags = "--lib-path ${gperftools}/lib";
+1
pkgs/servers/nosql/riak/1.3.1.nix
··· 32 cp -R getopt riaknostic/deps 33 cp -R meck riaknostic/deps 34 popd 35 ''; 36 37 buildPhase = ''
··· 32 cp -R getopt riaknostic/deps 33 cp -R meck riaknostic/deps 34 popd 35 + patchShebangs . 36 ''; 37 38 buildPhase = ''
+1
pkgs/servers/openafs-client/default.nix
··· 24 preConfigure = '' 25 ln -s ${kernel.dev}/lib/modules/*/build $TMP/linux 26 27 for i in `grep -l -R '/usr/\(include\|src\)' .`; do 28 echo "Patch /usr/include and /usr/src in $i" 29 substituteInPlace $i \
··· 24 preConfigure = '' 25 ln -s ${kernel.dev}/lib/modules/*/build $TMP/linux 26 27 + patchShebangs . 28 for i in `grep -l -R '/usr/\(include\|src\)' .`; do 29 echo "Patch /usr/include and /usr/src in $i" 30 substituteInPlace $i \
+1
pkgs/tools/backup/bup/default.nix
··· 19 nativeBuildInputs = [ pandoc perl makeWrapper ]; 20 21 patchPhase = '' 22 substituteInPlace Makefile --replace "-Werror" "" 23 substituteInPlace Makefile --replace "./format-subst.pl" "perl ./format-subst.pl" 24 '' + optionalString par2Support ''
··· 19 nativeBuildInputs = [ pandoc perl makeWrapper ]; 20 21 patchPhase = '' 22 + patchShebangs . 23 substituteInPlace Makefile --replace "-Werror" "" 24 substituteInPlace Makefile --replace "./format-subst.pl" "perl ./format-subst.pl" 25 '' + optionalString par2Support ''
+4
pkgs/tools/cd-dvd/dvdisaster/default.nix
··· 10 sha256 = "e9787dea39aeafa38b26604752561bc895083c17b588489d857ac05c58be196b"; 11 }; 12 13 buildInputs = [ 14 pkgconfig which gettext intltool 15 glib gtk2
··· 10 sha256 = "e9787dea39aeafa38b26604752561bc895083c17b588489d857ac05c58be196b"; 11 }; 12 13 + postPatch = '' 14 + patchShebangs ./ 15 + ''; 16 + 17 buildInputs = [ 18 pkgconfig which gettext intltool 19 glib gtk2
+1
pkgs/tools/filesystems/nixpart/0.4/pyparted.nix
··· 29 propagatedBuildInputs = [ parted ]; 30 31 checkPhase = '' 32 make test PYTHON=${python.executable} 33 ''; 34
··· 29 propagatedBuildInputs = [ parted ]; 30 31 checkPhase = '' 32 + patchShebangs Makefile 33 make test PYTHON=${python.executable} 34 ''; 35
+2 -1
pkgs/tools/misc/convmv/default.nix
··· 12 makeFlags="PREFIX=$out" 13 ''; 14 15 - postBuild='' 16 tar -xf testsuite.tar 17 ''; 18 19 doCheck = true;
··· 12 makeFlags="PREFIX=$out" 13 ''; 14 15 + patchPhase='' 16 tar -xf testsuite.tar 17 + patchShebangs . 18 ''; 19 20 doCheck = true;
+1
pkgs/tools/misc/opentsdb/default.nix
··· 16 mkdir build 17 cd build 18 ../configure --prefix=$out 19 ''; 20 21 installPhase = ''
··· 16 mkdir build 17 cd build 18 ../configure --prefix=$out 19 + patchShebangs ../build-aux/ 20 ''; 21 22 installPhase = ''
+1
pkgs/tools/misc/parted/default.nix
··· 12 patches = stdenv.lib.optional doCheck ./gpt-unicode-test-fix.patch; 13 14 postPatch = stdenv.lib.optionalString doCheck '' 15 ''; 16 17 buildInputs = [ libuuid ]
··· 12 patches = stdenv.lib.optional doCheck ./gpt-unicode-test-fix.patch; 13 14 postPatch = stdenv.lib.optionalString doCheck '' 15 + patchShebangs tests 16 ''; 17 18 buildInputs = [ libuuid ]
+1
pkgs/tools/misc/pipelight/default.nix
··· 32 ]; 33 postPatch = '' 34 export wineDir=$(pwd) 35 chmod u+w $wineDir/../git-export/debian/tools/ 36 patchShebangs $wineDir/../git-export/debian/tools/ 37 chmod -R +rwx ../git-export/
··· 32 ]; 33 postPatch = '' 34 export wineDir=$(pwd) 35 + patchShebangs $wineDir/tools/ 36 chmod u+w $wineDir/../git-export/debian/tools/ 37 patchShebangs $wineDir/../git-export/debian/tools/ 38 chmod -R +rwx ../git-export/
+1
pkgs/tools/security/mbox/default.nix
··· 21 checkPhase = '' 22 rm tests/test-*vim.sh tests/test-pip.sh 23 24 sed -i 's|^/bin/||' tests/test-fileops.sh 25 26 ./testall.sh
··· 21 checkPhase = '' 22 rm tests/test-*vim.sh tests/test-pip.sh 23 24 + patchShebangs ./; dontPatchShebags=1 25 sed -i 's|^/bin/||' tests/test-fileops.sh 26 27 ./testall.sh
+1
pkgs/tools/typesetting/tex/latex2html/default.nix
··· 11 buildInputs = [ tex perl ghostscript netpbm ]; 12 13 preConfigure = '' 14 sed -i -e "s|#! /bin/cat|#! $(type -p cat)|" configure 15 configureFlags="--with-texpath=$out/share/texmf-nix"; 16 '';
··· 11 buildInputs = [ tex perl ghostscript netpbm ]; 12 13 preConfigure = '' 14 + patchShebangs . 15 sed -i -e "s|#! /bin/cat|#! $(type -p cat)|" configure 16 configureFlags="--with-texpath=$out/share/texmf-nix"; 17 '';
+2
pkgs/tools/virtualization/cloud-init/default.nix
··· 12 }; 13 14 preBuild = '' 15 substituteInPlace setup.py \ 16 --replace /usr $out \ 17 --replace /etc $out/etc \
··· 12 }; 13 14 preBuild = '' 15 + patchShebangs ./tools 16 + 17 substituteInPlace setup.py \ 18 --replace /usr $out \ 19 --replace /etc $out/etc \
+1
pkgs/top-level/perl-packages.nix
··· 1357 url = mirror://cpan/authors/id/S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-2.21.tar.gz; 1358 sha256 = "0gca1cjy2k0mrpfnbyzm5islzfayqfvg3zzlrlm7n60p0cb48y7w"; 1359 }; 1360 meta = { 1361 description = "A module for creating generic methods"; 1362 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
··· 1357 url = mirror://cpan/authors/id/S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-2.21.tar.gz; 1358 sha256 = "0gca1cjy2k0mrpfnbyzm5islzfayqfvg3zzlrlm7n60p0cb48y7w"; 1359 }; 1360 + preConfigure = "patchShebangs ."; 1361 meta = { 1362 description = "A module for creating generic methods"; 1363 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
+5
pkgs/top-level/python-packages.nix
··· 7213 sha256 = "1mrh233pj584gf7la64d4xlmvdnfl4jwpxs95lnd3i4zd5drid14"; 7214 }; 7215 7216 buildInputs = [ 7217 self.setuptools self.nose pkgs.pkgconfig pkgs.swig pkgs.libcdio 7218 ]; ··· 7581 propagatedBuildInputs = with self; [ pkgs.parted ]; 7582 7583 checkPhase = '' 7584 make test PYTHON=${python.executable} 7585 ''; 7586
··· 7213 sha256 = "1mrh233pj584gf7la64d4xlmvdnfl4jwpxs95lnd3i4zd5drid14"; 7214 }; 7215 7216 + preConfigure = '' 7217 + patchShebangs . 7218 + ''; 7219 + 7220 buildInputs = [ 7221 self.setuptools self.nose pkgs.pkgconfig pkgs.swig pkgs.libcdio 7222 ]; ··· 7585 propagatedBuildInputs = with self; [ pkgs.parted ]; 7586 7587 checkPhase = '' 7588 + patchShebangs Makefile 7589 make test PYTHON=${python.executable} 7590 ''; 7591