breeze-plymouth: remove trailing whitespace
This commit is contained in:
parent
423fc3f232
commit
40a3b21b51
1 changed files with 3 additions and 3 deletions
|
@ -15,13 +15,13 @@
|
|||
bottomColor ? "black"
|
||||
}:
|
||||
|
||||
let
|
||||
let
|
||||
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;
|
||||
in
|
||||
assert lib.asserts.assertOneOf "topColor" topColor validColors;
|
||||
assert lib.asserts.assertOneOf "bottomColor" bottomColor validColors;
|
||||
|
||||
|
||||
|
||||
mkDerivation {
|
||||
name = "breeze-plymouth";
|
||||
|
@ -37,7 +37,7 @@ mkDerivation {
|
|||
++ lib.optional (topColor != null) "-DBACKGROUND_TOP_COLOR=${topColor}"
|
||||
++ lib.optional (bottomColor != null) "-DBACKGROUND_BOTTOM_COLOR=${bottomColor}"
|
||||
;
|
||||
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace cmake/FindPlymouth.cmake --subst-var out
|
||||
'' + lib.optionalString (logoFile != null) ''
|
||||
|
|
Loading…
Reference in a new issue