units: Fix build error with GCC 15 (#476148)

This commit is contained in:
Aleksana
2026-01-02 07:44:08 +00:00
committed by GitHub
+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;
};
})