From 3ed2ad1293e1d9c5758999006fbdeb6ec8fae3f3 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 4 Dec 2025 19:53:40 +0100 Subject: fix(build): use python3.pkgs instead of python312Packages With NixOS 25.11 the over specificity in pystitch.nix (but not default.nix) led to: error: Python version mismatch in 'inkstitch-git': The Python derivation 'inkstitch-git' depends on a Python derivation named 'python3.12-pystitch-0-git', but the two derivations use different versions of Python: 'inkstitch-git' uses /nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9 'python3.12-pystitch-0-git' uses /nix/store/fdibxyh7xcmqrc172y78awzhxs292gq1-python3-3.12.12 --- pystitch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pystitch.nix b/pystitch.nix index 0785b5c1..78fce6af 100644 --- a/pystitch.nix +++ b/pystitch.nix @@ -1,7 +1,7 @@ { pkgs ? import {}, }: -with pkgs.python312Packages; +with pkgs.python3.pkgs; buildPythonPackage { pname = "pystitch"; -- cgit v1.3.1