From b7f69c5e5ac6606cbf63bb8fc07f934bf612c741 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 12 Oct 2025 20:42:22 +0200 Subject: [PATCH] anki: deprecate phases --- pkgs/games/anki/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index e94887da7ad0..aab9065f8ed7 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -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 {