Merge pull request #131682 from Stunkymonkey/development-phases

development/tools: deprecate phases
This commit is contained in:
Ben Siraphob 2021-07-27 21:36:00 +07:00 committed by GitHub
commit 006b0b6a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 8 additions and 13 deletions

View File

@ -17,7 +17,7 @@ let
inherit sha256;
};
phases = "installPhase";
dontUnpack = true;
installPhase = ''
install -Dm755 $src $out/bin/amm

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
gemset = ./gemset.nix;
};
phases = [ "installPhase" ];
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ env ];

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jdk deps ];
phases = [ "installPhase" ];
dontUnpack = true;
extraJavaOpts = "-XX:+UseG1GC -XX:+UseStringDeduplication -Xss4m -Xms100m";

View File

@ -19,8 +19,6 @@ in stdenv.mkDerivation rec {
sha256 = "1894g6fymr8kra9vwhbmnrcr58l022mcd7g9ans4zd3izla2j3gx";
};
phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ];
patches = lib.optionalString (rubies != null) [
./env.patch
];

View File

@ -3,7 +3,8 @@
stdenv.mkDerivation {
name = "distcc-masq-${gccRaw.name}";
phases = [ "installPhase" ];
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin

View File

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
pname = "watson-ruby";
version = (import ./gemset.nix).watson-ruby.version;
phases = [ "installPhase" ];
dontUnpack = true;
installPhase = let
env = bundlerEnv {

View File

@ -30,8 +30,6 @@ in stdenv.mkDerivation rec {
"117gx6yjbcya64yg2vybcfyp591sid209pg8a33k9afbsmgz684c";
};
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/share/nwjs
cp -R * $out/share/nwjs

View File

@ -47,8 +47,6 @@ in stdenv.mkDerivation rec {
"0nlpdz76k1p1pq4xygfr2an91m0d7p5fjyg2xhiggyy8b7sp4964";
};
phases = [ "unpackPhase" "installPhase" ];
# we have runtime deps like sqlite3 that should remain
dontPatchELF = true;

View File

@ -34,7 +34,7 @@ buildDunePackage rec {
buildInputs = [ findlib ] ++ propagatedBuildInputs;
phases = [ "installPhase" ];
dontUnpack = true;
installPhase = ''
mkdir -p "$out"/${path}

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
license = licenses.bsd3;
};
phases = "installPhase";
dontUnpack = true;
installPhase = ''
mkdir -p "$out/bin"