wip: dnsc-machine setup

This commit is contained in:
Dennis Schoepf 2025-12-16 23:12:38 +01:00
parent cbffbfe9b6
commit 30918d5e95

View file

@ -7,7 +7,7 @@
}: }:
let let
backportPkgs = inputs.nixpkgs-backport-fix.legacyPackages.${pkgs.system}; backportPkgs = inputs.nixpkgs-backport-fix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in in
{ {
imports = [ imports = [
@ -40,6 +40,19 @@ in
} }
); );
}) })
(final: prev: {
python313Packages = prev.python313Packages.overrideScope (
pyFinal: pyPrev: {
python-dbusmock = pyPrev.python-dbusmock.overridePythonAttrs (old: {
# take the *source* (or patches) from the backport
src = backportPkgs.python313Packages.python-dbusmock.src;
# optional but often needed
patches = (old.patches or [ ]) ++ (backportPkgs.python313Packages.python-dbusmock.patches or [ ]);
});
}
);
})
]; ];
# General settings # General settings