From bf68223be0c783a560dcab49fbe2c9aac7f744ea Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Sat, 18 Nov 2023 17:18:33 +1300 Subject: [PATCH] Use Python 3 in build test Override `python` package to point to `python3`, since `python` is the EOL Python 2.7. --- test-build.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-build.nix b/test-build.nix index c735254..46e7fb3 100644 --- a/test-build.nix +++ b/test-build.nix @@ -2,6 +2,10 @@ with import { config.allowUnfree = true; overlays = [ (import vs-overlay) ]; + # Force default Python to 3.x + config.packageOverrides = pkgs: { + python = pkgs.python3; + }; }; runCommand "vs-overlay-plugins-build-test" { buildInputs = [ vapoursynthPlugins.adaptivegrain