diff --git a/pkgs/by-name/en/ente-auth/package.nix b/pkgs/by-name/en/ente-auth/package.nix index da702d2a11eb..13a9da94e9c6 100644 --- a/pkgs/by-name/en/ente-auth/package.nix +++ b/pkgs/by-name/en/ente-auth/package.nix @@ -61,7 +61,7 @@ flutter332.buildFlutterApplication rec { ]; # https://github.com/juliansteenbakker/flutter_secure_storage/issues/965 - CXXFLAGS = [ "-Wno-deprecated-literal-operator" ]; + env.CXXFLAGS = toString [ "-Wno-deprecated-literal-operator" ]; # Based on https://github.com/ente-io/ente/blob/main/auth/linux/packaging/rpm/make_config.yaml # and https://github.com/ente-io/ente/blob/main/auth/linux/packaging/enteauth.appdata.xml