treewide: convert phases that contain ":" to dont* = true (#130500)
commitd5bd34ebf2c2c2b380b76cb86bc68522bc6af4d7
authorSandro <sandro.jaeckel@gmail.com>
dateSun 18 Jul 2021, 23:42 (5 years ago)
parent967d40b
nixos/modules/services/continuous-integration/hercules-ci-agent/common.nix+1−1
@@ -105,7 +105,7 @@ let
105105 pkgs.stdenv.mkDerivation {
106106 name = "hercules-ci-check-system-nix-src";
107107 inherit (config.nix.package) src patches;
108− configurePhase = ":";
108+ dontConfigure = true;
109109 buildPhase = ''
110110 echo "Checking in-memory pathInfoCache expiry"
111111 if ! grep 'PathInfoCacheValue' src/libstore/store-api.hh >/dev/null; then
nixos/modules/services/hardware/sane_extra_backends/brscan4_etc_files.nix+1−2
@@ -54,8 +54,7 @@ stdenv.mkDerivation {
5454 ${addAllNetDev netDevices}
5555 '';
5656
57− installPhase = ":";
58−
57+ dontInstall = true;
5958 dontStrip = true;
6059 dontPatchELF = true;
6160
pkgs/applications/editors/emacs/elisp-packages/cedille/default.nix+1−1
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
88
99 buildInputs = [ emacs ];
1010
11− buildPhase = ":";
11+ dontBuild = true;
1212
1313 installPhase = ''
1414 install -d $out/share/emacs/site-lisp
pkgs/applications/editors/kakoune/plugins/build-kakoune-plugin.nix+2−2
@@ -27,7 +27,7 @@ rec {
2727 });
2828
2929 buildKakounePluginFrom2Nix = attrs: buildKakounePlugin ({
30− buildPhase = ":";
31− configurePhase = ":";
30+ dontBuild = true;
31+ dontConfigure = true;
3232 } // attrs);
3333}
pkgs/applications/misc/thinking-rock/default.nix+1−1
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 chmod +x $out/bin/thinkingrock
3232 '';
3333
34− installPhase = ":";
34+ dontInstall = true;
3535
3636 meta = with lib; {
3737 description = "Task management system";
pkgs/applications/science/biology/macse/default.nix+1−1
@@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
1111
1212 nativeBuildInputs = [ makeWrapper ];
1313
14+ dontUnpack = true;
1415 dontBuild = true;
15− unpackPhase = ":";
1616
1717 installPhase = ''
1818 runHook preInstall
pkgs/applications/video/vdr/plugins.nix+1−1
@@ -225,7 +225,7 @@ in {
225225 mkdir -p $out/lib/vdr
226226 '';
227227
228− installPhase = ":";
228+ dontInstall = true;
229229
230230 meta = with lib; {
231231 homepage = "https://projects.vdr-developer.org/projects/plg-text2skin";
pkgs/development/compilers/apache-flex-sdk/default.nix+2−2
@@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
1919
2020 buildInputs = [ jre ];
2121
22− buildPhase = ":";
22+ dontBuild = true;
2323
2424 postPatch = ''
2525 shopt -s extglob
@@ -45,7 +45,7 @@ in stdenv.mkDerivation rec {
4545 cp ${playerglobal} $t/frameworks/libs/player/${playerglobal_ver}/playerglobal.swc
4646 '';
4747
48− fixupPhase = ":";
48+ dontFixup = true;
4949
5050 meta = with lib; {
5151 description = "Flex SDK for Adobe Flash / ActionScript";
pkgs/development/libraries/nanopb/test-message-with-annotations/default.nix+1−1
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 # proto_path. By default the current directory is automatically added to the
1010 # proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
1111 # not work because they end up in the store at different locations.
12− installPhase = ":";
12+ dontInstall = true;
1313 buildPhase = ''
1414 mkdir $out
1515
pkgs/development/libraries/nanopb/test-message-with-options/default.nix+1−1
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 # proto_path. By default the current directory is automatically added to the
1010 # proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
1111 # not work because they end up in the store at different locations.
12− installPhase = ":";
12+ dontInstall = true;
1313 buildPhase = ''
1414 mkdir $out
1515
pkgs/development/libraries/nanopb/test-simple-proto2/default.nix+1−1
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 # proto_path. By default the current directory is automatically added to the
1010 # proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
1111 # not work because they end up in the store at different locations.
12− installPhase = ":";
12+ dontInstall = true;
1313 buildPhase = ''
1414 mkdir $out
1515
pkgs/development/libraries/nanopb/test-simple-proto3/default.nix+1−1
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 # proto_path. By default the current directory is automatically added to the
1010 # proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
1111 # not work because they end up in the store at different locations.
12− installPhase = ":";
12+ dontInstall = true;
1313 buildPhase = ''
1414 mkdir $out
1515
pkgs/development/python-modules/pytest-astropy/default.nix+1−1
@@ -38,7 +38,7 @@ buildPythonPackage rec {
3838 ];
3939
4040 # pytest-astropy is a meta package and has no tests
41− checkPhase = ":";
41+ doCheck = false;
4242
4343 meta = with lib; {
4444 description = "Meta-package containing dependencies for testing";
pkgs/development/ruby-modules/with-packages/default.nix+1−1
@@ -57,7 +57,7 @@ let
5757 nativeBuildInputs = [ makeWrapper ];
5858 buildInputs = [ selected ruby ];
5959
60− unpackPhase = ":";
60+ dontUnpack = true;
6161
6262 installPhase = ''
6363 for i in ${ruby}/bin/* ${gemEnv}/bin/*; do
pkgs/development/tools/misc/gede/default.nix+1−1
@@ -17,7 +17,7 @@ mkDerivation rec {
1717
1818 dontUseQmakeConfigure = true;
1919
20− buildPhase = ":";
20+ dontBuild = true;
2121
2222 installPhase = ''
2323 python build.py install --verbose --prefix="$out"
pkgs/development/tools/parsing/tree-sitter/grammar.nix+2−1
@@ -33,7 +33,8 @@ stdenv.mkDerivation {
3333 buildInputs = [ tree-sitter ];
3434
3535 dontUnpack = true;
36− configurePhase = ":";
36+ dontConfigure = true;
37+
3738 buildPhase = ''
3839 runHook preBuild
3940 scanner_cc="$src/src/scanner.cc"
pkgs/development/web/now-cli/default.nix+1−1
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 gunzip -c $curSrc > now-linux
1515 '';
1616
17− buildPhase = ":";
17+ dontBuild = true;
1818
1919 installPhase = ''
2020 mkdir $out
pkgs/misc/apulse/pressureaudio.nix+1−2
@@ -9,8 +9,7 @@ stdenv.mkDerivation {
99 nativeBuildInputs = [ pkg-config intltool autoreconfHook ];
1010
1111 dontConfigure = true;
12−
13− buildPhase = ":";
12+ dontBuild = true;
1413
1514 installPhase = ''
1615 echo "Copying libraries from apulse."
pkgs/os-specific/linux/wooting-udev-rules/default.nix+1−1
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 # Source: https://wooting.helpscoutdocs.com/article/68-wootility-configuring-device-access-for-wootility-under-linux-udev-rules
88 src = [ ./wooting.rules ];
99
10− unpackPhase = ":";
10+ dontUnpack = true;
1111
1212 installPhase = ''
1313 install -Dpm644 $src $out/lib/udev/rules.d/70-wooting.rules
pkgs/servers/dict/dictd-db.nix+1−1
@@ -12,7 +12,7 @@ let
1212 inherit src;
1313 locale = _locale;
1414 dbName = _name;
15− buildPhase = ":";
15+ dontBuild = true;
1616 unpackPhase = ''
1717 tar xf ${src}
1818 '';
pkgs/servers/foundationdb/vsmake.nix+1−1
@@ -21,7 +21,7 @@ let
2121 };
2222
2323 dontConfigure = true;
24− buildPhase = ":";
24+ dontBuild = true;
2525 installPhase = "mkdir -p $out/include && cp -R boost $out/include/";
2626 };
2727
pkgs/servers/sql/postgresql/ext/pgjwt.nix+1−1
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
1111 sha256 = "1riz0xvwb6y02j0fljbr9hcbqb2jqs4njlivmavy9ysbcrrv1vrf";
1212 };
1313
14− buildPhase = ":";
14+ dontBuild = true;
1515 installPhase = ''
1616 mkdir -p $out/share/postgresql/extension
1717 cp pg*sql *.control $out/share/postgresql/extension
pkgs/tools/backup/ori/default.nix+1−1
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 scons PREFIX=$out WITH_ORILOCAL=1 install
1818 '';
1919
20− installPhase = ":";
20+ dontInstall = true;
2121
2222 meta = with lib; {
2323 description = "A secure distributed file system";
pkgs/tools/misc/sweep-visualizer/default.nix+1−1
@@ -21,7 +21,7 @@
2121 ar p "$src" data.tar.xz | tar xJ
2222 '';
2323
24− buildPhase = ":";
24+ dontBuild = true;
2525
2626 installPhase = ''
2727 mkdir -p $out/bin $out/share/sweep-visualizer
pkgs/tools/misc/zsh-autoenv/default.nix+1−1
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
1111 sha256 = "004svkfzhc3ab6q2qvwzgj36wvicg5bs8d2gcibx6adq042di7zj";
1212 };
1313
14− buildPhase = ":";
14+ dontBuild = true;
1515
1616 installPhase = ''
1717 mkdir -p $out/{bin,share}
pkgs/tools/system/uefitool/common.nix+4−2
@@ -20,8 +20,10 @@ mkDerivation rec {
2020 buildInputs = [ qtbase ];
2121 nativeBuildInputs = [ qmake cmake zip ];
2222
23− configurePhase = ":";
24− buildPhase = "bash unixbuild.sh";
23+ dontConfigure = true;
24+ buildPhase = ''
25+ bash unixbuild.sh
26+ '';
2527
2628 installPhase = ''
2729 mkdir -p "$out"/bin
pkgs/tools/typesetting/tex/texlive/bin.nix+1−1
@@ -309,7 +309,7 @@ latexindent = perlPackages.buildPerlPackage rec {
309309 preConfigure = ''
310310 touch Makefile.PL
311311 '';
312− buildPhase = ":";
312+ dontBuild = true;
313313 installPhase = ''
314314 install -D ./scripts/latexindent/latexindent.pl "$out"/bin/latexindent
315315 mkdir -p "$out"/${perl.libPrefix}