Merge pull request #285 from nix-community/nixos-facter
fix python3 overrides
This commit is contained in:
commit
65d9487002
2 changed files with 6 additions and 9 deletions
|
@ -21,6 +21,7 @@ in
|
||||||
../serial.nix
|
../serial.nix
|
||||||
../restore-remote-access.nix
|
../restore-remote-access.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
system.kexec-installer.name = lib.mkOption {
|
system.kexec-installer.name = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
@ -32,6 +33,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
boot.initrd.compressor = "xz";
|
||||||
# This is a variant of the upstream kexecScript that also allows embedding
|
# This is a variant of the upstream kexecScript that also allows embedding
|
||||||
# a ssh key.
|
# a ssh key.
|
||||||
system.build.kexecRun = pkgs.runCommand "kexec-run" { } ''
|
system.build.kexecRun = pkgs.runCommand "kexec-run" { } ''
|
||||||
|
|
|
@ -1,15 +1,10 @@
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
bcachefs-tools = prev.bcachefs-tools.overrideAttrs (old: {
|
bcachefs-tools = prev.bcachefs-tools.override { python3 = final.python3Minimal; };
|
||||||
python3 = prev.python3Minimal;
|
cifs-utils = prev.cifs-utils.override { python3 = final.python3Minimal; };
|
||||||
});
|
nfs-utils = prev.nfs-utils.override { python3 = final.python3Minimal; };
|
||||||
cifs-utils = prev.cifs-utils.overrideAttrs (old: {
|
talloc = prev.talloc.override { python3 = final.python3Minimal; };
|
||||||
python3 = prev.python3Minimal;
|
|
||||||
});
|
|
||||||
nfs-utils = prev.nfs-utils.overrideAttrs (old: {
|
|
||||||
python3 = prev.python3Minimal;
|
|
||||||
});
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue