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