treewide: convert phases that contain ":" to dont* = true (#130500)
This commit is contained in:
parent
967d40bec1
commit
d5bd34ebf2
|
@ -105,7 +105,7 @@ let
|
||||||
pkgs.stdenv.mkDerivation {
|
pkgs.stdenv.mkDerivation {
|
||||||
name = "hercules-ci-check-system-nix-src";
|
name = "hercules-ci-check-system-nix-src";
|
||||||
inherit (config.nix.package) src patches;
|
inherit (config.nix.package) src patches;
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
echo "Checking in-memory pathInfoCache expiry"
|
echo "Checking in-memory pathInfoCache expiry"
|
||||||
if ! grep 'PathInfoCacheValue' src/libstore/store-api.hh >/dev/null; then
|
if ! grep 'PathInfoCacheValue' src/libstore/store-api.hh >/dev/null; then
|
||||||
|
|
|
@ -54,8 +54,7 @@ stdenv.mkDerivation {
|
||||||
${addAllNetDev netDevices}
|
${addAllNetDev netDevices}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ":";
|
dontInstall = true;
|
||||||
|
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [ emacs ];
|
buildInputs = [ emacs ];
|
||||||
|
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -d $out/share/emacs/site-lisp
|
install -d $out/share/emacs/site-lisp
|
||||||
|
|
|
@ -27,7 +27,7 @@ rec {
|
||||||
});
|
});
|
||||||
|
|
||||||
buildKakounePluginFrom2Nix = attrs: buildKakounePlugin ({
|
buildKakounePluginFrom2Nix = attrs: buildKakounePlugin ({
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
} // attrs);
|
} // attrs);
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||||
chmod +x $out/bin/thinkingrock
|
chmod +x $out/bin/thinkingrock
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ":";
|
dontInstall = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Task management system";
|
description = "Task management system";
|
||||||
|
|
|
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
unpackPhase = ":";
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
|
@ -225,7 +225,7 @@ in {
|
||||||
mkdir -p $out/lib/vdr
|
mkdir -p $out/lib/vdr
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ":";
|
dontInstall = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://projects.vdr-developer.org/projects/plg-text2skin";
|
homepage = "https://projects.vdr-developer.org/projects/plg-text2skin";
|
||||||
|
|
|
@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ jre ];
|
buildInputs = [ jre ];
|
||||||
|
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
|
@ -45,7 +45,7 @@ in stdenv.mkDerivation rec {
|
||||||
cp ${playerglobal} $t/frameworks/libs/player/${playerglobal_ver}/playerglobal.swc
|
cp ${playerglobal} $t/frameworks/libs/player/${playerglobal_ver}/playerglobal.swc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
fixupPhase = ":";
|
dontFixup = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Flex SDK for Adobe Flash / ActionScript";
|
description = "Flex SDK for Adobe Flash / ActionScript";
|
||||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||||
# proto_path. By default the current directory is automatically added to the
|
# proto_path. By default the current directory is automatically added to the
|
||||||
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
|
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
|
||||||
# not work because they end up in the store at different locations.
|
# not work because they end up in the store at different locations.
|
||||||
installPhase = ":";
|
dontInstall = true;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||||
# proto_path. By default the current directory is automatically added to the
|
# proto_path. By default the current directory is automatically added to the
|
||||||
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
|
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
|
||||||
# not work because they end up in the store at different locations.
|
# not work because they end up in the store at different locations.
|
||||||
installPhase = ":";
|
dontInstall = true;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||||
# proto_path. By default the current directory is automatically added to the
|
# proto_path. By default the current directory is automatically added to the
|
||||||
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
|
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
|
||||||
# not work because they end up in the store at different locations.
|
# not work because they end up in the store at different locations.
|
||||||
installPhase = ":";
|
dontInstall = true;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||||
# proto_path. By default the current directory is automatically added to the
|
# proto_path. By default the current directory is automatically added to the
|
||||||
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
|
# proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did
|
||||||
# not work because they end up in the store at different locations.
|
# not work because they end up in the store at different locations.
|
||||||
installPhase = ":";
|
dontInstall = true;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
# pytest-astropy is a meta package and has no tests
|
# pytest-astropy is a meta package and has no tests
|
||||||
checkPhase = ":";
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Meta-package containing dependencies for testing";
|
description = "Meta-package containing dependencies for testing";
|
||||||
|
|
|
@ -57,7 +57,7 @@ let
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ selected ruby ];
|
buildInputs = [ selected ruby ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
for i in ${ruby}/bin/* ${gemEnv}/bin/*; do
|
for i in ${ruby}/bin/* ${gemEnv}/bin/*; do
|
||||||
|
|
|
@ -17,7 +17,7 @@ mkDerivation rec {
|
||||||
|
|
||||||
dontUseQmakeConfigure = true;
|
dontUseQmakeConfigure = true;
|
||||||
|
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
python build.py install --verbose --prefix="$out"
|
python build.py install --verbose --prefix="$out"
|
||||||
|
|
|
@ -33,7 +33,8 @@ stdenv.mkDerivation {
|
||||||
buildInputs = [ tree-sitter ];
|
buildInputs = [ tree-sitter ];
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
scanner_cc="$src/src/scanner.cc"
|
scanner_cc="$src/src/scanner.cc"
|
||||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
gunzip -c $curSrc > now-linux
|
gunzip -c $curSrc > now-linux
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
|
|
|
@ -9,8 +9,7 @@ stdenv.mkDerivation {
|
||||||
nativeBuildInputs = [ pkg-config intltool autoreconfHook ];
|
nativeBuildInputs = [ pkg-config intltool autoreconfHook ];
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
buildPhase = ":";
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
echo "Copying libraries from apulse."
|
echo "Copying libraries from apulse."
|
||||||
|
|
|
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
|
||||||
# Source: https://wooting.helpscoutdocs.com/article/68-wootility-configuring-device-access-for-wootility-under-linux-udev-rules
|
# Source: https://wooting.helpscoutdocs.com/article/68-wootility-configuring-device-access-for-wootility-under-linux-udev-rules
|
||||||
src = [ ./wooting.rules ];
|
src = [ ./wooting.rules ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dpm644 $src $out/lib/udev/rules.d/70-wooting.rules
|
install -Dpm644 $src $out/lib/udev/rules.d/70-wooting.rules
|
||||||
|
|
|
@ -12,7 +12,7 @@ let
|
||||||
inherit src;
|
inherit src;
|
||||||
locale = _locale;
|
locale = _locale;
|
||||||
dbName = _name;
|
dbName = _name;
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
tar xf ${src}
|
tar xf ${src}
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -21,7 +21,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
installPhase = "mkdir -p $out/include && cp -R boost $out/include/";
|
installPhase = "mkdir -p $out/include && cp -R boost $out/include/";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||||
sha256 = "1riz0xvwb6y02j0fljbr9hcbqb2jqs4njlivmavy9ysbcrrv1vrf";
|
sha256 = "1riz0xvwb6y02j0fljbr9hcbqb2jqs4njlivmavy9ysbcrrv1vrf";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/postgresql/extension
|
mkdir -p $out/share/postgresql/extension
|
||||||
cp pg*sql *.control $out/share/postgresql/extension
|
cp pg*sql *.control $out/share/postgresql/extension
|
||||||
|
|
|
@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
||||||
scons PREFIX=$out WITH_ORILOCAL=1 install
|
scons PREFIX=$out WITH_ORILOCAL=1 install
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ":";
|
dontInstall = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A secure distributed file system";
|
description = "A secure distributed file system";
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
ar p "$src" data.tar.xz | tar xJ
|
ar p "$src" data.tar.xz | tar xJ
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/sweep-visualizer
|
mkdir -p $out/bin $out/share/sweep-visualizer
|
||||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||||
sha256 = "004svkfzhc3ab6q2qvwzgj36wvicg5bs8d2gcibx6adq042di7zj";
|
sha256 = "004svkfzhc3ab6q2qvwzgj36wvicg5bs8d2gcibx6adq042di7zj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/{bin,share}
|
mkdir -p $out/{bin,share}
|
||||||
|
|
|
@ -20,8 +20,10 @@ mkDerivation rec {
|
||||||
buildInputs = [ qtbase ];
|
buildInputs = [ qtbase ];
|
||||||
nativeBuildInputs = [ qmake cmake zip ];
|
nativeBuildInputs = [ qmake cmake zip ];
|
||||||
|
|
||||||
configurePhase = ":";
|
dontConfigure = true;
|
||||||
buildPhase = "bash unixbuild.sh";
|
buildPhase = ''
|
||||||
|
bash unixbuild.sh
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out"/bin
|
mkdir -p "$out"/bin
|
||||||
|
|
|
@ -309,7 +309,7 @@ latexindent = perlPackages.buildPerlPackage rec {
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
touch Makefile.PL
|
touch Makefile.PL
|
||||||
'';
|
'';
|
||||||
buildPhase = ":";
|
dontBuild = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D ./scripts/latexindent/latexindent.pl "$out"/bin/latexindent
|
install -D ./scripts/latexindent/latexindent.pl "$out"/bin/latexindent
|
||||||
mkdir -p "$out"/${perl.libPrefix}
|
mkdir -p "$out"/${perl.libPrefix}
|
||||||
|
|
Loading…
Reference in a new issue