treewide: convert phases that contain ":" to dont* = true (#130500)

This commit is contained in:
Sandro 2021-07-18 23:42:48 +02:00 committed by GitHub
parent 967d40bec1
commit d5bd34ebf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 33 additions and 32 deletions

View file

@ -105,7 +105,7 @@ let
pkgs.stdenv.mkDerivation {
name = "hercules-ci-check-system-nix-src";
inherit (config.nix.package) src patches;
configurePhase = ":";
dontConfigure = true;
buildPhase = ''
echo "Checking in-memory pathInfoCache expiry"
if ! grep 'PathInfoCacheValue' src/libstore/store-api.hh >/dev/null; then

View file

@ -54,8 +54,7 @@ stdenv.mkDerivation {
${addAllNetDev netDevices}
'';
installPhase = ":";
dontInstall = true;
dontStrip = true;
dontPatchELF = true;

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation {
buildInputs = [ emacs ];
buildPhase = ":";
dontBuild = true;
installPhase = ''
install -d $out/share/emacs/site-lisp

View file

@ -27,7 +27,7 @@ rec {
});
buildKakounePluginFrom2Nix = attrs: buildKakounePlugin ({
buildPhase = ":";
configurePhase = ":";
dontBuild = true;
dontConfigure = true;
} // attrs);
}

View file

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/thinkingrock
'';
installPhase = ":";
dontInstall = true;
meta = with lib; {
description = "Task management system";

View file

@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
dontUnpack = true;
dontBuild = true;
unpackPhase = ":";
installPhase = ''
runHook preInstall

View file

@ -225,7 +225,7 @@ in {
mkdir -p $out/lib/vdr
'';
installPhase = ":";
dontInstall = true;
meta = with lib; {
homepage = "https://projects.vdr-developer.org/projects/plg-text2skin";

View file

@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ jre ];
buildPhase = ":";
dontBuild = true;
postPatch = ''
shopt -s extglob
@ -45,7 +45,7 @@ in stdenv.mkDerivation rec {
cp ${playerglobal} $t/frameworks/libs/player/${playerglobal_ver}/playerglobal.swc
'';
fixupPhase = ":";
dontFixup = true;
meta = with lib; {
description = "Flex SDK for Adobe Flash / ActionScript";

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation {
# proto_path. By default the current directory is automatically added to the
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
# not work because they end up in the store at different locations.
installPhase = ":";
dontInstall = true;
buildPhase = ''
mkdir $out

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation {
# proto_path. By default the current directory is automatically added to the
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
# not work because they end up in the store at different locations.
installPhase = ":";
dontInstall = true;
buildPhase = ''
mkdir $out

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation {
# proto_path. By default the current directory is automatically added to the
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
# not work because they end up in the store at different locations.
installPhase = ":";
dontInstall = true;
buildPhase = ''
mkdir $out

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation {
# proto_path. By default the current directory is automatically added to the
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
# not work because they end up in the store at different locations.
installPhase = ":";
dontInstall = true;
buildPhase = ''
mkdir $out

View file

@ -38,7 +38,7 @@ buildPythonPackage rec {
];
# pytest-astropy is a meta package and has no tests
checkPhase = ":";
doCheck = false;
meta = with lib; {
description = "Meta-package containing dependencies for testing";

View file

@ -57,7 +57,7 @@ let
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ selected ruby ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
for i in ${ruby}/bin/* ${gemEnv}/bin/*; do

View file

@ -17,7 +17,7 @@ mkDerivation rec {
dontUseQmakeConfigure = true;
buildPhase = ":";
dontBuild = true;
installPhase = ''
python build.py install --verbose --prefix="$out"

View file

@ -33,7 +33,8 @@ stdenv.mkDerivation {
buildInputs = [ tree-sitter ];
dontUnpack = true;
configurePhase = ":";
dontConfigure = true;
buildPhase = ''
runHook preBuild
scanner_cc="$src/src/scanner.cc"

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
gunzip -c $curSrc > now-linux
'';
buildPhase = ":";
dontBuild = true;
installPhase = ''
mkdir $out

View file

@ -9,8 +9,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkg-config intltool autoreconfHook ];
dontConfigure = true;
buildPhase = ":";
dontBuild = true;
installPhase = ''
echo "Copying libraries from apulse."

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
# Source: https://wooting.helpscoutdocs.com/article/68-wootility-configuring-device-access-for-wootility-under-linux-udev-rules
src = [ ./wooting.rules ];
unpackPhase = ":";
dontUnpack = true;
installPhase = ''
install -Dpm644 $src $out/lib/udev/rules.d/70-wooting.rules

View file

@ -12,7 +12,7 @@ let
inherit src;
locale = _locale;
dbName = _name;
buildPhase = ":";
dontBuild = true;
unpackPhase = ''
tar xf ${src}
'';

View file

@ -21,7 +21,7 @@ let
};
dontConfigure = true;
buildPhase = ":";
dontBuild = true;
installPhase = "mkdir -p $out/include && cp -R boost $out/include/";
};

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation {
sha256 = "1riz0xvwb6y02j0fljbr9hcbqb2jqs4njlivmavy9ysbcrrv1vrf";
};
buildPhase = ":";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/postgresql/extension
cp pg*sql *.control $out/share/postgresql/extension

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation {
scons PREFIX=$out WITH_ORILOCAL=1 install
'';
installPhase = ":";
dontInstall = true;
meta = with lib; {
description = "A secure distributed file system";

View file

@ -21,7 +21,7 @@
ar p "$src" data.tar.xz | tar xJ
'';
buildPhase = ":";
dontBuild = true;
installPhase = ''
mkdir -p $out/bin $out/share/sweep-visualizer

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation {
sha256 = "004svkfzhc3ab6q2qvwzgj36wvicg5bs8d2gcibx6adq042di7zj";
};
buildPhase = ":";
dontBuild = true;
installPhase = ''
mkdir -p $out/{bin,share}

View file

@ -20,8 +20,10 @@ mkDerivation rec {
buildInputs = [ qtbase ];
nativeBuildInputs = [ qmake cmake zip ];
configurePhase = ":";
buildPhase = "bash unixbuild.sh";
dontConfigure = true;
buildPhase = ''
bash unixbuild.sh
'';
installPhase = ''
mkdir -p "$out"/bin

View file

@ -309,7 +309,7 @@ latexindent = perlPackages.buildPerlPackage rec {
preConfigure = ''
touch Makefile.PL
'';
buildPhase = ":";
dontBuild = true;
installPhase = ''
install -D ./scripts/latexindent/latexindent.pl "$out"/bin/latexindent
mkdir -p "$out"/${perl.libPrefix}