From 628943b42d265634492d7b35127b36a8dc262e77 Mon Sep 17 00:00:00 2001 From: Daniel Fahey Date: Wed, 6 Nov 2024 16:33:15 +0000 Subject: [PATCH] protonmail-bridge-gui: fix whitespace in cmakeFlags Use __structuredAttrs after 53f550b --- pkgs/by-name/pr/protonmail-bridge-gui/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/pr/protonmail-bridge-gui/package.nix b/pkgs/by-name/pr/protonmail-bridge-gui/package.nix index 71468c9540d22..557316ac17886 100644 --- a/pkgs/by-name/pr/protonmail-bridge-gui/package.nix +++ b/pkgs/by-name/pr/protonmail-bridge-gui/package.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { patches = [ # Use `gtest` from Nixpkgs to allow an offline build ./use-nix-googletest.patch - # From https://github.com/ProtonMail/proton-bridge/pull/502 hopefully superceded by next upstream release + # From https://github.com/ProtonMail/proton-bridge/pull/502 and expected to be included in next upstream release ./0001-Fix-ColorImage-Qt-crash.patch ./0002-Avoid-name-clash-with-6.8-introduced-popupType.patch ]; @@ -65,6 +65,8 @@ stdenv.mkDerivation (finalAttrs: { sed -i "/add_subdirectory(bridge-gui-tester)/d" CMakeLists.txt ''; + __structuredAttrs = true; # to allow spaces in `cmakeFlags` + cmakeFlags = [ "-DBRIDGE_APP_FULL_NAME=Proton Mail Bridge" "-DBRIDGE_VENDOR=Proton AG"