Merge pull request #131682 from Stunkymonkey/development-phases
development/tools: deprecate phases
This commit is contained in:
commit
006b0b6a67
@ -17,7 +17,7 @@ let
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
phases = "installPhase";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 $src $out/bin/amm
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
gemset = ./gemset.nix;
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ env ];
|
||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ jdk deps ];
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
dontUnpack = true;
|
||||
|
||||
extraJavaOpts = "-XX:+UseG1GC -XX:+UseStringDeduplication -Xss4m -Xms100m";
|
||||
|
||||
|
@ -19,8 +19,6 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "1894g6fymr8kra9vwhbmnrcr58l022mcd7g9ans4zd3izla2j3gx";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ];
|
||||
|
||||
patches = lib.optionalString (rubies != null) [
|
||||
./env.patch
|
||||
];
|
||||
|
@ -3,7 +3,8 @@
|
||||
stdenv.mkDerivation {
|
||||
name = "distcc-masq-${gccRaw.name}";
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -30,8 +30,6 @@ in stdenv.mkDerivation rec {
|
||||
"117gx6yjbcya64yg2vybcfyp591sid209pg8a33k9afbsmgz684c";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/nwjs
|
||||
cp -R * $out/share/nwjs
|
||||
|
@ -47,8 +47,6 @@ in stdenv.mkDerivation rec {
|
||||
"0nlpdz76k1p1pq4xygfr2an91m0d7p5fjyg2xhiggyy8b7sp4964";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
# we have runtime deps like sqlite3 that should remain
|
||||
dontPatchELF = true;
|
||||
|
||||
|
@ -34,7 +34,7 @@ buildDunePackage rec {
|
||||
|
||||
buildInputs = [ findlib ] ++ propagatedBuildInputs;
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/${path}
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
phases = "installPhase";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin"
|
||||
|
Loading…
Reference in New Issue
Block a user