treewide: use dontConfigure
This commit is contained in:
parent
c79ec3323e
commit
cab7c6cbd9
|
@ -19,7 +19,7 @@ nix-shell -E 'with import <nixpkgs> { }; brscan4-etc-files.override{netDevices=[
|
|||
|
||||
*/
|
||||
|
||||
with lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ brscan4 ];
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
TARGET_DIR="$out/etc/opt/brother/scanner/brscan4"
|
||||
|
|
|
@ -12,7 +12,7 @@ let
|
|||
|
||||
defaultCollectionCgi = config.services.collectd.package.overrideDerivation(old: {
|
||||
name = "collection.cgi";
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
buildPhase = "true";
|
||||
installPhase = ''
|
||||
substituteInPlace contrib/collection.cgi --replace '"/etc/collection.conf"' '$ENV{COLLECTION_CONF}'
|
||||
|
|
|
@ -5,7 +5,7 @@ let
|
|||
name = emacs.name + "-sources";
|
||||
src = emacs.src;
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
doCheck = false;
|
||||
fixupPhase = ":";
|
||||
|
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||
buildInputs = [ emacs ];
|
||||
|
||||
unpackPhase = "true";
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
installPhase = "true";
|
||||
|
||||
buildPhase = ''
|
||||
|
|
|
@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
|
|||
buildInputs = with stdenv.lib;
|
||||
[ pkgconfig gettext python gtk2 pygtk dbus-python gdk_pixbuf upower makeWrapper ];
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
python setup.py build
|
||||
|
@ -44,7 +44,7 @@ in stdenv.mkDerivation rec {
|
|||
license = licenses.lgpl2Plus;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
broken = true; # see https://github.com/NixOS/nixpkgs/pull/4031#issuecomment-56283520
|
||||
broken = true; # see https://github.com/NixOS/nixpkgs/pull/4031#issuecomment-56283520
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace man/Makefile --replace "man4" ""
|
||||
'';
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
|
||||
GMAKE_NOWARN = true;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ let
|
|||
# perform fake build to make a fixed-output derivation of dependencies downloaded from maven central (~100Mb in ~3000 files)
|
||||
fetched-maven-deps = stdenv.mkDerivation {
|
||||
name = "hadoop-${version}-maven-deps";
|
||||
inherit src postUnpack nativeBuildInputs buildInputs configurePhase;
|
||||
inherit src postUnpack nativeBuildInputs buildInputs;
|
||||
buildPhase = ''
|
||||
while mvn package -Dmaven.repo.local=$out/.m2 ${mavenFlags} -Dmaven.wagon.rto=5000; [ $? = 1 ]; do
|
||||
echo "timeout, restart maven to continue downloading"
|
||||
|
@ -51,7 +51,7 @@ let
|
|||
fi
|
||||
done
|
||||
'';
|
||||
configurePhase = "true"; # do not trigger cmake hook
|
||||
dontConfigure = true; # do not trigger cmake hook
|
||||
mavenFlags = "-Drequire.snappy -Drequire.bzip2 -DskipTests -Pdist,native -e";
|
||||
buildPhase = ''
|
||||
# 'maven.repo.local' must be writable
|
||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# Skip configure and build phases.
|
||||
# We just want something from the support directory
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
configurePhase = "true"; # skip configure
|
||||
dontConfigure = true; # skip configure
|
||||
|
||||
installPhase = "make prefix=$out install";
|
||||
|
||||
|
|
|
@ -86,5 +86,5 @@ stdenv.mkDerivation (rec {
|
|||
export CHOST=${stdenv.hostPlatform.config}
|
||||
'';
|
||||
} // stdenv.lib.optionalAttrs (stdenv.hostPlatform.libc == "msvcrt") {
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
})
|
||||
|
|
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ocaml findlib];
|
||||
|
||||
configurePhase = "true"; # Skip configure phase
|
||||
dontConfigure = true; # Skip configure phase
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||
--replace "gcc" "\$(CC)"
|
||||
'';
|
||||
|
||||
configurePhase = "true"; # Skip configure
|
||||
dontConfigure = true; # Skip configure
|
||||
|
||||
buildPhase = ''
|
||||
make all allopt
|
||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
configurePhase = "true"; # Skip configure
|
||||
dontConfigure = true; # Skip configure
|
||||
# De facto, option minimal=1 seems to be the default. See the README.
|
||||
buildPhase = "make ${if minimal then "minimal=1" else ""} build";
|
||||
installPhase = "make ${if minimal then "minimal=1" else ""} install";
|
||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
|||
substituteInPlace Makefile --replace "SHELL=/bin/bash" "SHELL=$BASH"
|
||||
'';
|
||||
|
||||
configurePhase = "true"; # Skip configure phase
|
||||
dontConfigure = true; # Skip configure phase
|
||||
|
||||
buildPhase = ''
|
||||
make all opt
|
||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
configurePhase = "true"; # Skip configure phase
|
||||
dontConfigure = true; # Skip configure phase
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://bitbucket.org/mmottl/pcre-ocaml;
|
||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1hsvi8wjh615fnjf75h7b5afp04chqcgvini30vfcn3m9a5icbgy";
|
||||
};
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
buildPhase = ":";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/java
|
||||
|
|
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||
${python.interpreter} build.py --system-libclang --clang-completer --system-boost
|
||||
'';
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
|
||||
# remove the tests
|
||||
#
|
||||
|
|
|
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig intltool autoreconfHook ];
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ":";
|
||||
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
|||
Name: libpulse
|
||||
Description: PulseAudio Client Interface
|
||||
Version: ${libpulseaudio.version}-rebootstrapped
|
||||
Libs: -L$out/lib -lpulse
|
||||
Libs: -L$out/lib -lpulse
|
||||
Cflags: -I$out/include -D_REENTRANT
|
||||
EOF
|
||||
|
||||
|
@ -44,7 +44,7 @@ stdenv.mkDerivation {
|
|||
Name: libpulse-simple
|
||||
Description: PulseAudio Simplified Synchronous Client Interface
|
||||
Version: ${libpulseaudio.version}-rebootstrapped
|
||||
Libs: -L$out/lib -lpulse-simple
|
||||
Libs: -L$out/lib -lpulse-simple
|
||||
Cflags: -I$out/include -D_REENTRANT
|
||||
Requires: libpulse
|
||||
EOF
|
||||
|
@ -53,7 +53,7 @@ stdenv.mkDerivation {
|
|||
Name: libpulse-mainloop-glib
|
||||
Description: PulseAudio GLib 2.0 Main Loop Wrapper
|
||||
Version: ${libpulseaudio.version}-rebootstrapped
|
||||
Libs: -L$out/lib -lpulse-mainloop-glib
|
||||
Libs: -L$out/lib -lpulse-mainloop-glib
|
||||
Cflags: -I$out/include -D_REENTRANT
|
||||
Requires: libpulse glib-2.0
|
||||
EOF
|
||||
|
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ asciidoc libxslt ];
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
buildPhase = "make prefix=$out MANPAGE_DOCBOOK_XSL=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl all doc";
|
||||
installPhase = "make prefix=$out install install_doc";
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ let
|
|||
sha256 = "14mc7gsnnahdjaxbbslzk79rc0d12h1i681cd3srdwr3fzynlar2";
|
||||
};
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
buildPhase = ":";
|
||||
installPhase = "mkdir -p $out/include && cp -R boost $out/include/";
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
|
|||
name = "unp_2.0_pre7+nmu1.tar.bz2";
|
||||
};
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
buildPhase = "true";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ libX11 libGL ];
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = "
|
||||
$CC src/xdemos/{glxinfo.c,glinfo_common.c} -o glxinfo -lGL -lX11
|
||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ qmake ];
|
||||
buildInputs = [ qtbase ];
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake javac ];
|
||||
|
||||
configurePhase = "true";
|
||||
dontConfigure = true;
|
||||
buildPhase = "./build-hdfjava-unix.sh";
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
|
|
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||
--replace 'struct luaL_reg ' 'struct luaL_Reg '
|
||||
'';
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv ./wrk $out/bin/wrk2
|
||||
|
|
|
@ -334,7 +334,7 @@ let
|
|||
version = "2.12";
|
||||
src = external.rtags.src;
|
||||
|
||||
configurePhase = ":";
|
||||
dontConfigure = true;
|
||||
|
||||
propagatedUserEnvPkgs = [ external.rtags ];
|
||||
recipe = writeText "recipe" ''
|
||||
|
|
Loading…
Reference in a new issue