diff options
Diffstat (limited to 'pkgs/development')
33 files changed, 4 insertions, 72 deletions
diff --git a/pkgs/development/compilers/go/1.1-darwin.nix b/pkgs/development/compilers/go/1.1-darwin.nix index 5b17f56ac37a..411c3e029a6a 100644 --- a/pkgs/development/compilers/go/1.1-darwin.nix +++ b/pkgs/development/compilers/go/1.1-darwin.nix @@ -22,7 +22,6 @@ stdenv.mkDerivation { fi cd go - patchShebangs ./ # replace /bin/bash rm src/pkg/net/{multicast_test.go,parse_test.go,port_test.go} # The os test wants to read files in an existing path. Just it don't be /usr/bin. sed -i 's,/usr/bin,'"`pwd`", src/pkg/os/os_test.go diff --git a/pkgs/development/compilers/go/1.1.nix b/pkgs/development/compilers/go/1.1.nix index 11640f2393d2..1a6bfcad3990 100644 --- a/pkgs/development/compilers/go/1.1.nix +++ b/pkgs/development/compilers/go/1.1.nix @@ -33,7 +33,6 @@ stdenv.mkDerivation { fi cd go - patchShebangs ./ # replace /bin/bash # !!! substituteInPlace does not seems to be effective. sed -i 's,/lib/ld-linux.so.2,${loader386},' src/cmd/8l/asm.c sed -i 's,/lib64/ld-linux-x86-64.so.2,${loaderAmd64},' src/cmd/6l/asm.c diff --git a/pkgs/development/compilers/go/1.2.nix b/pkgs/development/compilers/go/1.2.nix index a00fe7346701..c091312c2a99 100644 --- a/pkgs/development/compilers/go/1.2.nix +++ b/pkgs/development/compilers/go/1.2.nix @@ -32,7 +32,6 @@ stdenv.mkDerivation { fi cd go - patchShebangs ./ # replace /bin/bash # !!! substituteInPlace does not seems to be effective. sed -i 's,/lib/ld-linux.so.2,${loader386},' src/cmd/8l/asm.c sed -i 's,/lib64/ld-linux-x86-64.so.2,${loaderAmd64},' src/cmd/6l/asm.c diff --git a/pkgs/development/compilers/go/default.nix b/pkgs/development/compilers/go/default.nix index b35159c10e79..8756aaa66291 100644 --- a/pkgs/development/compilers/go/default.nix +++ b/pkgs/development/compilers/go/default.nix @@ -30,7 +30,6 @@ stdenv.mkDerivation { fi cd go - patchShebangs ./ # replace /bin/bash # !!! substituteInPlace does not seems to be effective. sed -i 's,/lib/ld-linux.so.2,${loader386},' src/cmd/8l/asm.c sed -i 's,/lib64/ld-linux-x86-64.so.2,${loaderAmd64},' src/cmd/6l/asm.c diff --git a/pkgs/development/compilers/julia/0.3.3.nix b/pkgs/development/compilers/julia/0.3.3.nix index a8ad9d00aec5..89297995c4ee 100644 --- a/pkgs/development/compilers/julia/0.3.3.nix +++ b/pkgs/development/compilers/julia/0.3.3.nix @@ -106,8 +106,6 @@ stdenv.mkDerivation rec { export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/usr/lib:$PWD/usr/lib/julia" - patchShebangs . contrib - export PATH="$PATH:${stdenv.cc.libc}/sbin" # ldconfig doesn't seem to ever work on NixOS; system-wide ldconfig cache diff --git a/pkgs/development/compilers/mono/default.nix b/pkgs/development/compilers/mono/default.nix index e098f48a24ce..c715a6843954 100644 --- a/pkgs/development/compilers/mono/default.nix +++ b/pkgs/development/compilers/mono/default.nix @@ -35,7 +35,6 @@ stdenv.mkDerivation rec { # LLVM path to point into the Mono LLVM build, since it's private anyway. preBuild = '' makeFlagsArray=(INSTALL=`type -tp install`) - patchShebangs ./ '' + stdenv.lib.optionalString withLLVM '' substituteInPlace mono/mini/aot-compiler.c --replace "llvm_path = g_strdup (\"\")" "llvm_path = g_strdup (\"${llvm}/bin/\")" ''; diff --git a/pkgs/development/compilers/opa/default.nix b/pkgs/development/compilers/opa/default.nix index f0b503bd0be7..f60b90296325 100644 --- a/pkgs/development/compilers/opa/default.nix +++ b/pkgs/development/compilers/opa/default.nix @@ -19,7 +19,6 @@ stdenv.mkDerivation rec { codeGeneratorPaths = "${ocamlPackages.ocaml}/bin:${gcc}/bin:${binutils}/bin:${gnumake}/bin:${nodejs}/bin"; preConfigure = '' - patchShebangs . ( cat ./compiler/buildinfos/buildInfos.ml.pre ./compiler/buildinfos/generate_buildinfos.sh . --release --version ./compiler/buildinfos/version_major.txt diff --git a/pkgs/development/libraries/agda/agda-iowa-stdlib/default.nix b/pkgs/development/libraries/agda/agda-iowa-stdlib/default.nix index 2c76c2f43508..446bfdf9ca78 100644 --- a/pkgs/development/libraries/agda/agda-iowa-stdlib/default.nix +++ b/pkgs/development/libraries/agda/agda-iowa-stdlib/default.nix @@ -12,7 +12,6 @@ agda.mkDerivation (self: rec { sourceDirectories = [ "./." ]; buildPhase = '' - patchShebangs find-deps.sh make ''; diff --git a/pkgs/development/libraries/dbus/default.nix b/pkgs/development/libraries/dbus/default.nix index d332321a22ad..145462b38d0e 100644 --- a/pkgs/development/libraries/dbus/default.nix +++ b/pkgs/development/libraries/dbus/default.nix @@ -47,7 +47,6 @@ let buildInputs = [ autoconf automake libtool ]; # ToDo: optional selinux? preConfigure = '' - patchShebangs . substituteInPlace tools/Makefile.am --replace 'install-localstatelibDATA:' 'disabled:' autoreconf -fi ''; diff --git a/pkgs/development/libraries/folly/default.nix b/pkgs/development/libraries/folly/default.nix index 66d4f73096b8..dced097a05ae 100644 --- a/pkgs/development/libraries/folly/default.nix +++ b/pkgs/development/libraries/folly/default.nix @@ -17,9 +17,6 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook python boost ]; postUnpack = "sourceRoot=\${sourceRoot}/folly"; - preBuild = '' - patchShebangs build - ''; configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]; diff --git a/pkgs/development/libraries/hspell/default.nix b/pkgs/development/libraries/hspell/default.nix index 9b44d12c2934..9cd071f6cbe9 100644 --- a/pkgs/development/libraries/hspell/default.nix +++ b/pkgs/development/libraries/hspell/default.nix @@ -13,7 +13,6 @@ stdenv.mkDerivation rec { sha256 = "08x7rigq5pa1pfpl30qp353hbdkpadr1zc49slpczhsn0sg36pd6"; }; - patchPhase = ''patchShebangs .''; buildInputs = [ perl zlib ]; makeFlags = "CFLAGS=-fPIC"; diff --git a/pkgs/development/libraries/ibus/default.nix b/pkgs/development/libraries/ibus/default.nix index 6b426169a708..ef794b452798 100644 --- a/pkgs/development/libraries/ibus/default.nix +++ b/pkgs/development/libraries/ibus/default.nix @@ -20,7 +20,6 @@ stdenv.mkDerivation rec { ]; preBuild = '' - patchShebangs ./scripts substituteInPlace data/dconf/Makefile --replace "dconf update" "echo" ''; diff --git a/pkgs/development/libraries/libcouchbase/default.nix b/pkgs/development/libraries/libcouchbase/default.nix index 841edd3dff61..3e1251215795 100644 --- a/pkgs/development/libraries/libcouchbase/default.nix +++ b/pkgs/development/libraries/libcouchbase/default.nix @@ -11,7 +11,6 @@ stdenv.mkDerivation { }; preConfigure = '' - patchShebangs ./config/ ./config/autorun.sh ''; @@ -25,4 +24,4 @@ stdenv.mkDerivation { license = stdenv.lib.licenses.asl20; platforms = stdenv.lib.platforms.unix; }; -} \ No newline at end of file +} diff --git a/pkgs/development/libraries/libctemplate/default.nix b/pkgs/development/libraries/libctemplate/default.nix index 142025c1e51d..578ccffd0948 100644 --- a/pkgs/development/libraries/libctemplate/default.nix +++ b/pkgs/development/libraries/libctemplate/default.nix @@ -12,10 +12,6 @@ stdenv.mkDerivation rec { buildInputs = [ python ]; - postPatch = '' - patchShebangs . - ''; - meta = { description = "A simple but powerful template language for C++"; longDescription = '' diff --git a/pkgs/development/libraries/libqmi/default.nix b/pkgs/development/libraries/libqmi/default.nix index a0292067dbb2..9a934befde98 100644 --- a/pkgs/development/libraries/libqmi/default.nix +++ b/pkgs/development/libraries/libqmi/default.nix @@ -8,10 +8,6 @@ stdenv.mkDerivation rec { sha256 = "03gf221yjcdzvnl4v2adwpc6cyg5mlbccn20s00fp5bgvmq81pgs"; }; - preBuild = '' - patchShebangs . - ''; - buildInputs = [ pkgconfig glib python ]; meta = with stdenv.lib; { diff --git a/pkgs/development/libraries/libsoup/default.nix b/pkgs/development/libraries/libsoup/default.nix index cd2a15ffc668..517eed606e6e 100644 --- a/pkgs/development/libraries/libsoup/default.nix +++ b/pkgs/development/libraries/libsoup/default.nix @@ -14,10 +14,6 @@ stdenv.mkDerivation { sha256 = "ea34dd64fe44343445daf6dd690d0691e9d973468de44878da97371c16d89784"; }; - patchPhase = '' - patchShebangs libsoup/ - ''; - buildInputs = libintlOrEmpty ++ [ intltool python ]; nativeBuildInputs = [ pkgconfig ]; propagatedBuildInputs = [ glib libxml2 gobjectIntrospection ] diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix index 8bd4866cb21c..b6b82a12ed6e 100644 --- a/pkgs/development/libraries/libvirt/default.nix +++ b/pkgs/development/libraries/libvirt/default.nix @@ -25,7 +25,6 @@ stdenv.mkDerivation rec { preConfigure = '' PATH=${iproute}/sbin:${iptables}/sbin:${ebtables}/sbin:${lvm2}/sbin:${udev}/sbin:${dnsmasq}/bin:$PATH - patchShebangs . # fixes /usr/bin/python references ''; configureFlags = [ diff --git a/pkgs/development/libraries/lirc/default.nix b/pkgs/development/libraries/lirc/default.nix index 278eb8e9e523..755bb48af1c8 100644 --- a/pkgs/development/libraries/lirc/default.nix +++ b/pkgs/development/libraries/lirc/default.nix @@ -15,8 +15,6 @@ stdenv.mkDerivation rec { }) ]; - preBuild = "patchShebangs ."; - buildInputs = [ alsaLib help2man ]; configureFlags = [ diff --git a/pkgs/development/libraries/mesa-darwin/default.nix b/pkgs/development/libraries/mesa-darwin/default.nix index f259a397c847..0b0cf5f28220 100644 --- a/pkgs/development/libraries/mesa-darwin/default.nix +++ b/pkgs/development/libraries/mesa-darwin/default.nix @@ -41,8 +41,6 @@ let ./patches/patch-src-mapi-vgapi-Makefile.diff ]; - postPatch = "patchShebangs ."; - configurePhase = ":"; makeFlags = "INSTALL_DIR=\${out} CC=cc CXX=c++"; diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index a3b40eb612c2..4db3b003f2f0 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/pkgs/development/libraries/mesa/default.nix @@ -38,7 +38,6 @@ stdenv.mkDerivation { sha256 = "f6031f8b7113a92325b60635c504c510490eebb2e707119bbff7bd86aa34657d"; }; - prePatch = "patchShebangs ."; patches = [ ./static-gallium.patch diff --git a/pkgs/development/libraries/polkit/default.nix b/pkgs/development/libraries/polkit/default.nix index 7fe16cec56b9..6a0cc50c4123 100644 --- a/pkgs/development/libraries/polkit/default.nix +++ b/pkgs/development/libraries/polkit/default.nix @@ -35,9 +35,7 @@ stdenv.mkDerivation rec { ( map (var: ''-DPACKAGE_${var}_DIR=\""${builtins.getAttr var foolVars}"\"'') (builtins.attrNames foolVars) ); - preConfigure = '' - patchShebangs . - '' + stdenv.lib.optionalString useSystemd /* bogus chroot detection */ '' + preConfigure = stdenv.lib.optionalString useSystemd /* bogus chroot detection */ '' sed '/libsystemd-login autoconfigured, but system does not appear to use systemd/s/.*/:/' -i configure '' # ‘libpolkit-agent-1.so’ should call the setuid wrapper on diff --git a/pkgs/development/libraries/qpdf/default.nix b/pkgs/development/libraries/qpdf/default.nix index 63ba58f23432..2f4815036709 100644 --- a/pkgs/development/libraries/qpdf/default.nix +++ b/pkgs/development/libraries/qpdf/default.nix @@ -15,11 +15,9 @@ stdenv.mkDerivation rec { buildInputs = [ pcre zlib ]; postPatch = '' - patchShebangs qpdf/fix-qdf ''; preCheck = '' - patchShebangs qtest/bin/qtest-driver ''; doCheck = true; diff --git a/pkgs/development/libraries/sword/default.nix b/pkgs/development/libraries/sword/default.nix index 6faf2224b0cf..a91474d054c7 100644 --- a/pkgs/development/libraries/sword/default.nix +++ b/pkgs/development/libraries/sword/default.nix @@ -13,10 +13,6 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig icu clucene_core curl ]; - prePatch = '' - patchShebangs .; - ''; - configureFlags = "--without-conf --enable-tests=no CXXFLAGS=-Wno-unused-but-set-variable"; meta = with stdenv.lib; { diff --git a/pkgs/development/libraries/webkitgtk/2.4.6.nix b/pkgs/development/libraries/webkitgtk/2.4.6.nix index a2344f71f882..bb8e95fb1ecd 100644 --- a/pkgs/development/libraries/webkitgtk/2.4.6.nix +++ b/pkgs/development/libraries/webkitgtk/2.4.6.nix @@ -28,10 +28,6 @@ stdenv.mkDerivation rec { CC = "cc"; - prePatch = '' - patchShebangs Tools/gtk - ''; - configureFlags = with stdenv.lib; [ "--disable-geolocation" (optionalString enableIntrospection "--enable-introspection") diff --git a/pkgs/development/libraries/webkitgtk/default.nix b/pkgs/development/libraries/webkitgtk/default.nix index 3cbf36987323..08576c2ebc36 100644 --- a/pkgs/development/libraries/webkitgtk/default.nix +++ b/pkgs/development/libraries/webkitgtk/default.nix @@ -17,8 +17,6 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ iyzsong koral ]; }; - preConfigure = "patchShebangs Tools"; - src = fetchurl { url = "http://webkitgtk.org/releases/${name}.tar.xz"; sha256 = "1f9qm5g1mbjm2hrnlzymas99piws4h4y3yxz4p6f6gavnsvfjwji"; diff --git a/pkgs/development/libraries/zeitgeist/default.nix b/pkgs/development/libraries/zeitgeist/default.nix index d0de624890b5..ecdcd7804e54 100644 --- a/pkgs/development/libraries/zeitgeist/default.nix +++ b/pkgs/development/libraries/zeitgeist/default.nix @@ -21,8 +21,6 @@ stdenv.mkDerivation rec { libtool python dbus_libs telepathy_glib vala dbus_glib gtk3 json_glib librdf_raptor2 pythonPackages.rdflib ]; - prePatch = "patchShebangs ."; - patches = [ ./dbus_glib.patch ]; patchFlags = [ "-p0" ]; diff --git a/pkgs/development/ocaml-modules/javalib/default.nix b/pkgs/development/ocaml-modules/javalib/default.nix index 7272e668aa20..960824731f67 100644 --- a/pkgs/development/ocaml-modules/javalib/default.nix +++ b/pkgs/development/ocaml-modules/javalib/default.nix @@ -20,8 +20,6 @@ stdenv.mkDerivation rec { createFindlibDestdir = true; - preConfigure = "patchShebangs ./configure.sh"; - configureScript = "./configure.sh"; dontAddPrefix = "true"; diff --git a/pkgs/development/ocaml-modules/sawja/default.nix b/pkgs/development/ocaml-modules/sawja/default.nix index 534a7684cec4..2ee035aadb61 100644 --- a/pkgs/development/ocaml-modules/sawja/default.nix +++ b/pkgs/development/ocaml-modules/sawja/default.nix @@ -22,8 +22,6 @@ stdenv.mkDerivation rec { createFindlibDestdir = true; - preConfigure = "patchShebangs ./configure.sh"; - configureScript = "./configure.sh"; dontAddPrefix = "true"; diff --git a/pkgs/development/python-modules/dbus/default.nix b/pkgs/development/python-modules/dbus/default.nix index bc386e7e5ac2..9a6e25d13a44 100644 --- a/pkgs/development/python-modules/dbus/default.nix +++ b/pkgs/development/python-modules/dbus/default.nix @@ -8,8 +8,6 @@ if isPyPy then throw "dbus-python not supported for interpreter ${python.executa sha256 = "1py62qir966lvdkngg0v8k1khsqxwk5m4s8nflpk1agk5f5nqb71"; }; - postPatch = "patchShebangs ."; - buildInputs = [ python pkgconfig dbus dbus_glib ] ++ stdenv.lib.optional doCheck dbus_tools; diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 1ec48bcc06f2..46bed164fef8 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -916,14 +916,6 @@ let ]; otherOverrides = old: new: { - RcppArmadillo = old.RcppArmadillo.overrideDerivation (attrs: { - patchPhase = "patchShebangs configure"; - }); - - rpf = old.rpf.overrideDerivation (attrs: { - patchPhase = "patchShebangs configure"; - }); - BayesXsrc = old.BayesXsrc.overrideDerivation (attrs: { patches = [ ./patches/BayesXsrc.patch ]; }); diff --git a/pkgs/development/tools/build-managers/icmake/default.nix b/pkgs/development/tools/build-managers/icmake/default.nix index a32ea9a3adda..929e68ed4e0b 100644 --- a/pkgs/development/tools/build-managers/icmake/default.nix +++ b/pkgs/development/tools/build-managers/icmake/default.nix @@ -10,7 +10,6 @@ stdenv.mkDerivation rec { }; preConfigure = '' - patchShebangs ./ sed -i "s;usr/;;g" INSTALL.im ''; @@ -25,4 +24,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ pSub ]; platforms = platforms.linux; }; -} \ No newline at end of file +} diff --git a/pkgs/development/tools/documentation/doxygen/default.nix b/pkgs/development/tools/documentation/doxygen/default.nix index 50f2037b271c..65ae4b61b4f2 100644 --- a/pkgs/development/tools/documentation/doxygen/default.nix +++ b/pkgs/development/tools/documentation/doxygen/default.nix @@ -24,9 +24,7 @@ stdenv.mkDerivation { ++ stdenv.lib.optional (qt4 != null) "--with-doxywizard"; preConfigure = - '' - patchShebangs . - '' + stdenv.lib.optionalString (qt4 != null) + stdenv.lib.optionalString (qt4 != null) '' echo "using QTDIR=${qt4}..." export QTDIR=${qt4} diff --git a/pkgs/development/tools/misc/yodl/default.nix b/pkgs/development/tools/misc/yodl/default.nix index 691974353e10..f16c961f4cf4 100644 --- a/pkgs/development/tools/misc/yodl/default.nix +++ b/pkgs/development/tools/misc/yodl/default.nix @@ -12,7 +12,6 @@ stdenv.mkDerivation rec { }; preConfigure = '' - patchShebangs scripts/. sed -i 's;/usr;;g' INSTALL.im substituteInPlace build --replace /usr/bin/icmake ${icmake}/bin/icmake substituteInPlace macros/rawmacros/startdoc.pl --replace /usr/bin/perl ${perl}/bin/perl |