navidrome: move CGO_* env vars into env for structuredAttrs
This commit is contained in:
@@ -64,7 +64,9 @@ buildGoModule (finalAttrs: {
|
||||
"-X github.com/navidrome/navidrome/consts.gitTag=v${finalAttrs.version}"
|
||||
];
|
||||
|
||||
CGO_CFLAGS = lib.optionals stdenv.cc.isGNU [ "-Wno-return-local-addr" ];
|
||||
env = lib.optionalAttrs stdenv.cc.isGNU {
|
||||
CGO_CFLAGS = toString [ "-Wno-return-local-addr" ];
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs ui/bin/update-workbox.sh
|
||||
|
||||
Reference in New Issue
Block a user