units: Fix build error with GCC 15

This commit is contained in:
Galen Huntington
2026-01-01 23:12:27 -08:00
parent 50cfe00fd8
commit 490da27310
+4 -1
View File
@@ -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;
};
})