Use Python 3 in build test

Override `python` package to point to `python3`, since `python` is the
EOL Python 2.7.
This commit is contained in:
Aidan Gauland 2023-11-18 17:18:33 +13:00
parent c461c6689f
commit bf68223be0
No known key found for this signature in database
GPG key ID: 16E68DD2D0E77C91

View file

@ -2,6 +2,10 @@
with import <nixpkgs> {
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