anki: deprecate phases (#451431)

This commit is contained in:
Felix Bühler
2025-10-18 10:44:18 +00:00
committed by GitHub

View File

@@ -24,6 +24,7 @@
writeShellScriptBin,
yarn,
yarn-berry_4,
runCommand,
swift,
@@ -72,10 +73,7 @@ let
exec ${yarn}/bin/yarn "$@"
'';
uvWheels = stdenv.mkDerivation {
name = "uv-wheels";
phases = [ "installPhase" ];
uvWheels = runCommand "uv-wheels" {
# otherwise, it's too long of a string
passAsFile = [ "installCommand" ];
installCommand = ''
@@ -98,9 +96,7 @@ let
fi
'') pythonDeps
));
installPhase = ''bash $installCommandPath'';
};
} "bash $installCommandPath";
in
python3Packages.buildPythonApplication rec {