aacgain: fix build on darwin and add update script (#520904)

This commit is contained in:
Weijia Wang
2026-05-16 23:17:08 +00:00
committed by GitHub
+6 -1
View File
@@ -6,6 +6,7 @@
autoconf,
automake,
libtool,
nix-update-script,
}:
stdenv.mkDerivation {
@@ -27,7 +28,11 @@ stdenv.mkDerivation {
libtool
];
env.NIX_CFLAGS_COMPILE = "-Wno-error=narrowing";
env.NIX_CFLAGS_COMPILE = "-Wno-error=narrowing -DHAVE_GETOPT_H=1";
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "ReplayGain for AAC files";