Unverified Commit bf82ea80 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

vanillatd: deprecate phases (#432921)

parents 5a3cff76 87de4f75
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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
+2 −3
Original line number Diff line number Diff line
@@ -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; [