gnome: fix build
This commit is contained in:
parent
c9f102ba2a
commit
3b7c1594ac
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ let
|
|||
maxThumbnails = config.programs.gnome.extensions.workspaceIndicator.maxThumbnails;
|
||||
workspaceIndicator = pkgs.gnomeExtensions.workspace-indicator.overrideAttrs {
|
||||
postPatch = ''
|
||||
sed -i 's/const MAX_THUMBNAILS = 6;/const MAX_THUMBNAILS = ${maxThumbnails};/' extension.js
|
||||
'';
|
||||
sed -i 's/const MAX_THUMBNAILS = 6;/const MAX_THUMBNAILS = '${builtins.toString maxThumbnails}'/' extension.js
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue