vanillatd: deprecate phases (#432921)

This commit is contained in:
Yohann Boniface
2025-08-11 23:02:04 +02:00
committed by GitHub
2 changed files with 3 additions and 5 deletions
+1 -2
View File
@@ -141,8 +141,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ dataDerivation ] ++ finalAttrs.buildInputs;
nativeBuildInputs = [ rsync ];
phases = [ "buildPhase" ];
buildPhase =
buildCommand =
let
Default_Data_Path =
if stdenv.hostPlatform.isDarwin then
@@ -8,10 +8,9 @@
}:
builtins.mapAttrs
(
name: buildPhase:
name: buildCommand:
stdenvNoCC.mkDerivation {
inherit name buildPhase;
phases = [ "buildPhase" ];
inherit name buildCommand;
nativeBuildInputs = [ unar ];
meta = {
sourceProvenance = with lib.sourceTypes; [