Unverified Commit 09af3e9b authored by Stefan Frijters's avatar Stefan Frijters
Browse files

snapcast: move env variable(s) into env for structuredAttrs

parent d42345eb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -59,7 +59,9 @@ stdenv.mkDerivation rec {
  ++ lib.optional pipewireSupport pipewire
  ++ lib.optional stdenv.hostPlatform.isLinux alsa-lib;

  TARGET = lib.optionalString stdenv.hostPlatform.isDarwin "MACOS";
  env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
    TARGET = "MACOS";
  };

  cmakeFlags = [
    (lib.cmakeBool "BUILD_WITH_PULSE" pulseaudioSupport)