libavc1394: move NIX_LDFLAGS into env for structuredAttrs (#486093)

This commit is contained in:
Wolfgang Walther
2026-02-03 10:54:40 +00:00
committed by GitHub
+3 -1
View File
@@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ libraw1394 ];
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isMusl "-largp";
env = lib.optionalAttrs stdenv.hostPlatform.isMusl {
NIX_LDFLAGS = "-largp";
};
meta = {
description = "Programming interface for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set";