Loading pkgs/by-name/ja/jay/package.nix +16 −0 Original line number Diff line number Diff line { lib, stdenv, rustPlatform, fetchFromGitHub, libGL, Loading @@ -13,6 +14,8 @@ libglvnd, vulkan-loader, autoPatchelfHook, installShellFiles, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { Loading @@ -32,6 +35,7 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ autoPatchelfHook installShellFiles pkgconf ]; Loading @@ -53,8 +57,20 @@ rustPlatform.buildRustPackage (finalAttrs: { postInstall = '' install -D etc/jay.portal $out/share/xdg-desktop-portal/portals/jay.portal install -D etc/jay-portals.conf $out/share/xdg-desktop-portal/jay-portals.conf install -D etc/jay.desktop $out/share/wayland-sessions/jay.desktop '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd jay \ --bash <("$out/bin/jay" generate-completion bash) \ --zsh <("$out/bin/jay" generate-completion zsh) \ --fish <("$out/bin/jay" generate-completion fish) ''; passthru = { updateScript = nix-update-script { }; providedSessions = [ "jay" ]; }; meta = { description = "Wayland compositor written in Rust"; homepage = "https://github.com/mahkoh/jay"; Loading Loading
pkgs/by-name/ja/jay/package.nix +16 −0 Original line number Diff line number Diff line { lib, stdenv, rustPlatform, fetchFromGitHub, libGL, Loading @@ -13,6 +14,8 @@ libglvnd, vulkan-loader, autoPatchelfHook, installShellFiles, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { Loading @@ -32,6 +35,7 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ autoPatchelfHook installShellFiles pkgconf ]; Loading @@ -53,8 +57,20 @@ rustPlatform.buildRustPackage (finalAttrs: { postInstall = '' install -D etc/jay.portal $out/share/xdg-desktop-portal/portals/jay.portal install -D etc/jay-portals.conf $out/share/xdg-desktop-portal/jay-portals.conf install -D etc/jay.desktop $out/share/wayland-sessions/jay.desktop '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd jay \ --bash <("$out/bin/jay" generate-completion bash) \ --zsh <("$out/bin/jay" generate-completion zsh) \ --fish <("$out/bin/jay" generate-completion fish) ''; passthru = { updateScript = nix-update-script { }; providedSessions = [ "jay" ]; }; meta = { description = "Wayland compositor written in Rust"; homepage = "https://github.com/mahkoh/jay"; Loading