Loading pkgs/by-name/ze/zellij/package.nix +29 −21 Original line number Diff line number Diff line { lib , fetchFromGitHub , rustPlatform , stdenv , installShellFiles , pkg-config , curl , openssl , mandown , zellij , testers { lib, fetchFromGitHub, rustPlatform, stdenv, installShellFiles, pkg-config, curl, openssl, mandown, zellij, testers, }: rustPlatform.buildRustPackage rec { Loading Loading @@ -58,11 +59,13 @@ rustPlatform.buildRustPackage rec { runHook postInstallCheck ''; postInstall = '' postInstall = '' mandown docs/MANPAGE.md > zellij.1 installManPage zellij.1 '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd $pname \ --bash <($out/bin/zellij setup --generate-completion bash) \ --fish <($out/bin/zellij setup --generate-completion fish) \ Loading @@ -76,7 +79,12 @@ rustPlatform.buildRustPackage rec { homepage = "https://zellij.dev/"; changelog = "https://github.com/zellij-org/zellij/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ therealansh _0x4A6F abbe pyrox0 ]; maintainers = with maintainers; [ therealansh _0x4A6F abbe pyrox0 ]; mainProgram = "zellij"; }; } Loading
pkgs/by-name/ze/zellij/package.nix +29 −21 Original line number Diff line number Diff line { lib , fetchFromGitHub , rustPlatform , stdenv , installShellFiles , pkg-config , curl , openssl , mandown , zellij , testers { lib, fetchFromGitHub, rustPlatform, stdenv, installShellFiles, pkg-config, curl, openssl, mandown, zellij, testers, }: rustPlatform.buildRustPackage rec { Loading Loading @@ -58,11 +59,13 @@ rustPlatform.buildRustPackage rec { runHook postInstallCheck ''; postInstall = '' postInstall = '' mandown docs/MANPAGE.md > zellij.1 installManPage zellij.1 '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd $pname \ --bash <($out/bin/zellij setup --generate-completion bash) \ --fish <($out/bin/zellij setup --generate-completion fish) \ Loading @@ -76,7 +79,12 @@ rustPlatform.buildRustPackage rec { homepage = "https://zellij.dev/"; changelog = "https://github.com/zellij-org/zellij/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ therealansh _0x4A6F abbe pyrox0 ]; maintainers = with maintainers; [ therealansh _0x4A6F abbe pyrox0 ]; mainProgram = "zellij"; }; }