Skip to content

Commit b00e0d4

Browse files
committed
zellij: format
1 parent 10c96e2 commit b00e0d4

File tree

1 file changed

+29
-21
lines changed

1 file changed

+29
-21
lines changed

pkgs/by-name/ze/zellij/package.nix

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
{ lib
2-
, fetchFromGitHub
3-
, rustPlatform
4-
, stdenv
5-
, installShellFiles
6-
, pkg-config
7-
, curl
8-
, openssl
9-
, mandown
10-
, zellij
11-
, testers
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
rustPlatform,
5+
stdenv,
6+
installShellFiles,
7+
pkg-config,
8+
curl,
9+
openssl,
10+
mandown,
11+
zellij,
12+
testers,
1213
}:
1314

1415
rustPlatform.buildRustPackage rec {
@@ -58,16 +59,18 @@ rustPlatform.buildRustPackage rec {
5859
runHook postInstallCheck
5960
'';
6061

61-
postInstall = ''
62-
mandown docs/MANPAGE.md > zellij.1
63-
installManPage zellij.1
62+
postInstall =
63+
''
64+
mandown docs/MANPAGE.md > zellij.1
65+
installManPage zellij.1
6466
65-
'' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
66-
installShellCompletion --cmd $pname \
67-
--bash <($out/bin/zellij setup --generate-completion bash) \
68-
--fish <($out/bin/zellij setup --generate-completion fish) \
69-
--zsh <($out/bin/zellij setup --generate-completion zsh)
70-
'';
67+
''
68+
+ lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
69+
installShellCompletion --cmd $pname \
70+
--bash <($out/bin/zellij setup --generate-completion bash) \
71+
--fish <($out/bin/zellij setup --generate-completion fish) \
72+
--zsh <($out/bin/zellij setup --generate-completion zsh)
73+
'';
7174

7275
passthru.tests.version = testers.testVersion { package = zellij; };
7376

@@ -76,7 +79,12 @@ rustPlatform.buildRustPackage rec {
7679
homepage = "https://zellij.dev/";
7780
changelog = "https://github.com/zellij-org/zellij/blob/v${version}/CHANGELOG.md";
7881
license = with licenses; [ mit ];
79-
maintainers = with maintainers; [ therealansh _0x4A6F abbe pyrox0 ];
82+
maintainers = with maintainers; [
83+
therealansh
84+
_0x4A6F
85+
abbe
86+
pyrox0
87+
];
8088
mainProgram = "zellij";
8189
};
8290
}

0 commit comments

Comments
 (0)