units: Fix build error with GCC 15 (#476148)
This commit is contained in:
@@ -21,6 +21,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-HlAsTt+s8gspKEcWxy5d21GklaI2XXsD55YElMSgyQI=";
|
||||
};
|
||||
|
||||
# Until upstream updates their code to work with GCC 15.
|
||||
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"info"
|
||||
@@ -71,7 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
license = with lib.licenses; [ gpl3Plus ];
|
||||
mainProgram = "units";
|
||||
maintainers = [ ];
|
||||
maintainers = with lib.maintainers; [ galen ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user