breeze-plymouth: remove trailing whitespace

This commit is contained in:
V 2020-09-03 19:20:55 +02:00
parent 423fc3f232
commit 40a3b21b51

View file

@ -15,13 +15,13 @@
bottomColor ? "black" bottomColor ? "black"
}: }:
let let
validColors = [ "black" "cardboard_grey" "charcoal_grey" "icon_blue" "paper_white" "plasma_blue" "neon_blue" "neon_green" ]; validColors = [ "black" "cardboard_grey" "charcoal_grey" "icon_blue" "paper_white" "plasma_blue" "neon_blue" "neon_green" ];
resolvedLogoName = if (logoFile != null && logoName == null) then lib.strings.removeSuffix ".png" (baseNameOf(toString logoFile)) else logoName; resolvedLogoName = if (logoFile != null && logoName == null) then lib.strings.removeSuffix ".png" (baseNameOf(toString logoFile)) else logoName;
in in
assert lib.asserts.assertOneOf "topColor" topColor validColors; assert lib.asserts.assertOneOf "topColor" topColor validColors;
assert lib.asserts.assertOneOf "bottomColor" bottomColor validColors; assert lib.asserts.assertOneOf "bottomColor" bottomColor validColors;
mkDerivation { mkDerivation {
name = "breeze-plymouth"; name = "breeze-plymouth";
@ -37,7 +37,7 @@ mkDerivation {
++ lib.optional (topColor != null) "-DBACKGROUND_TOP_COLOR=${topColor}" ++ lib.optional (topColor != null) "-DBACKGROUND_TOP_COLOR=${topColor}"
++ lib.optional (bottomColor != null) "-DBACKGROUND_BOTTOM_COLOR=${bottomColor}" ++ lib.optional (bottomColor != null) "-DBACKGROUND_BOTTOM_COLOR=${bottomColor}"
; ;
postPatch = '' postPatch = ''
substituteInPlace cmake/FindPlymouth.cmake --subst-var out substituteInPlace cmake/FindPlymouth.cmake --subst-var out
'' + lib.optionalString (logoFile != null) '' '' + lib.optionalString (logoFile != null) ''