Skip to content

Commit

Permalink
protonmail-bridge-gui: fix whitespace in cmakeFlags
Browse files Browse the repository at this point in the history
Use __structuredAttrs after 53f550b
  • Loading branch information
daniel-fahey committed Nov 6, 2024
1 parent bd1a23d commit 628943b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/by-name/pr/protonmail-bridge-gui/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 628943b

Please sign in to comment.