about summary refs log tree commit diff
path: root/pkgs/by-name/hy
diff options
context:
space:
mode:
authorDonovan Glover <donovan@dglover.co>2024-03-15 13:40:10 -0400
committerDonovan Glover <donovan@dglover.co>2024-03-15 13:40:10 -0400
commit489e9a864b2898157a6804cb101cb0b8b65949d4 (patch)
tree469bbec20543092fa841741e4b914862f58bbd68 /pkgs/by-name/hy
parent597c9f61a4a56ff674e16cc355e68f3fa7bf4737 (diff)
hyprnome: cleanup
Diffstat (limited to 'pkgs/by-name/hy')
-rw-r--r--pkgs/by-name/hy/hyprnome/package.nix21
1 files changed, 10 insertions, 11 deletions
diff --git a/pkgs/by-name/hy/hyprnome/package.nix b/pkgs/by-name/hy/hyprnome/package.nix
index d8d6ba70c8f71..691ebc574a439 100644
--- a/pkgs/by-name/hy/hyprnome/package.nix
+++ b/pkgs/by-name/hy/hyprnome/package.nix
@@ -1,8 +1,9 @@
-{ lib
-, rustPlatform
-, fetchFromGitHub
-, installShellFiles
-, nix-update-script
+{
+  lib,
+  rustPlatform,
+  fetchFromGitHub,
+  installShellFiles,
+  nix-update-script,
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -18,17 +19,15 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-DpbRs97sr5wpJSrYF99ZiQ0SZOZdoQjfaLhKIAU95HA=";
 
-  nativeBuildInputs = [
-    installShellFiles
-  ];
+  nativeBuildInputs = [ installShellFiles ];
 
   postInstall = ''
     installManPage target/man/hyprnome.1
 
     installShellCompletion --cmd hyprnome \
-      --bash <(cat target/completions/hyprnome.bash) \
-      --fish <(cat target/completions/hyprnome.fish) \
-      --zsh <(cat target/completions/_hyprnome)
+      --bash target/completions/hyprnome.bash \
+      --fish target/completions/hyprnome.fish \
+      --zsh target/completions/_hyprnome
   '';
 
   passthru.updateScript = nix-update-script { };