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