From c8bc2a9d22e6ba34d0a06f0747b1c85f770585d6 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Wed, 24 Dec 2025 14:15:55 +0100 Subject: [PATCH] python3Packages.[pysscf,gpaw]: fix build The introduction of libxc into pythonPackages in https://github.com/NixOS/nixpkgs/pull/471599 causes a naming conflict for other python pacackages that dependend on the C version of libxc. --- pkgs/top-level/python-packages.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index aa3fbf20a8f3..94956a706199 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6428,7 +6428,9 @@ self: super: with self; { gower = callPackage ../development/python-modules/gower { }; - gpaw = callPackage ../development/python-modules/gpaw { }; + gpaw = callPackage ../development/python-modules/gpaw { + inherit (pkgs) libxc; + }; gpgme = callPackage ../development/python-modules/gpgme { inherit (pkgs) gpgme; }; @@ -14496,7 +14498,9 @@ self: super: with self; { pyscard = callPackage ../development/python-modules/pyscard { }; - pyscf = callPackage ../development/python-modules/pyscf { }; + pyscf = callPackage ../development/python-modules/pyscf { + inherit (pkgs) libxc; + }; pyschedule = callPackage ../development/python-modules/pyschedule { };