wip: dnsc-machine setup
This commit is contained in:
parent
cbffbfe9b6
commit
30918d5e95
1 changed files with 14 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue