treewide: use dontConfigure

This commit is contained in:
worldofpeace 2019-06-19 11:36:06 -04:00
parent c79ec3323e
commit cab7c6cbd9
26 changed files with 32 additions and 32 deletions

View File

@ -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"

View File

@ -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}'

View File

@ -5,7 +5,7 @@ let
name = emacs.name + "-sources";
src = emacs.src;
configurePhase = ":";
dontConfigure = true;
dontBuild = true;
doCheck = false;
fixupPhase = ":";

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation {
buildInputs = [ emacs ];
unpackPhase = "true";
configurePhase = "true";
dontConfigure = true;
installPhase = "true";
buildPhase = ''

View File

@ -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
};
}

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
substituteInPlace man/Makefile --replace "man4" ""
'';
configurePhase = "true";
dontConfigure = true;
GMAKE_NOWARN = true;

View File

@ -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

View File

@ -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 = ''

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation {
buildInputs = [ perl ];
configurePhase = "true"; # skip configure
dontConfigure = true; # skip configure
installPhase = "make prefix=$out install";

View File

@ -86,5 +86,5 @@ stdenv.mkDerivation (rec {
export CHOST=${stdenv.hostPlatform.config}
'';
} // stdenv.lib.optionalAttrs (stdenv.hostPlatform.libc == "msvcrt") {
configurePhase = ":";
dontConfigure = true;
})

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ocaml findlib];
configurePhase = "true"; # Skip configure phase
dontConfigure = true; # Skip configure phase
createFindlibDestdir = true;

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
--replace "gcc" "\$(CC)"
'';
configurePhase = "true"; # Skip configure
dontConfigure = true; # Skip configure
buildPhase = ''
make all allopt

View File

@ -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";

View File

@ -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

View File

@ -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;

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1hsvi8wjh615fnjf75h7b5afp04chqcgvini30vfcn3m9a5icbgy";
};
configurePhase = ":";
dontConfigure = true;
buildPhase = ":";
installPhase = ''
mkdir -p $out/bin $out/share/java

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
${python.interpreter} build.py --system-libclang --clang-completer --system-boost
'';
configurePhase = ":";
dontConfigure = true;
# remove the tests
#

View File

@ -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

View File

@ -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";

View File

@ -20,7 +20,7 @@ let
sha256 = "14mc7gsnnahdjaxbbslzk79rc0d12h1i681cd3srdwr3fzynlar2";
};
configurePhase = ":";
dontConfigure = true;
buildPhase = ":";
installPhase = "mkdir -p $out/include && cp -R boost $out/include/";
};

View File

@ -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

View File

@ -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

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase ];
configurePhase = ":";
dontConfigure = true;
installPhase = ''
mkdir -p $out/bin

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake javac ];
configurePhase = "true";
dontConfigure = true;
buildPhase = "./build-hdfjava-unix.sh";
installPhase = ''
mkdir -p $out

View File

@ -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

View File

@ -334,7 +334,7 @@ let
version = "2.12";
src = external.rtags.src;
configurePhase = ":";
dontConfigure = true;
propagatedUserEnvPkgs = [ external.rtags ];
recipe = writeText "recipe" ''