Add no compressed specific overlay
This commit is contained in:
parent
4d284ae315
commit
0c873307ae
@ -20,4 +20,16 @@
|
||||
EFI n
|
||||
'';
|
||||
} ];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
# Fix GCC 13 format-overflow warning/error:
|
||||
# ../src/shared/install.c:444:64: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
|
||||
# 444 | err = log_error_errno(changes[i].type, "Failed to %s unit, unit %s does not exist.",
|
||||
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
systemd = prev.systemd.overrideAttrs (old: {
|
||||
CFLAGS = "-Wno-error=format-overflow";
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user