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:38:33 -0400
committerDonovan Glover <donovan@dglover.co>2024-03-15 13:39:18 -0400
commit597c9f61a4a56ff674e16cc355e68f3fa7bf4737 (patch)
tree5679e63e1367e8604a5d39a65c4a9aad4fd71058 /pkgs/by-name/hy
parente6021d44293c2df7dfd6c95da733982137042b9e (diff)
hyprdim: cleanup
Diffstat (limited to 'pkgs/by-name/hy')
-rw-r--r--pkgs/by-name/hy/hyprdim/package.nix21
1 files changed, 10 insertions, 11 deletions
diff --git a/pkgs/by-name/hy/hyprdim/package.nix b/pkgs/by-name/hy/hyprdim/package.nix
index 10938330196a0..ee0df4f9fc03a 100644
--- a/pkgs/by-name/hy/hyprdim/package.nix
+++ b/pkgs/by-name/hy/hyprdim/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-hgcGzRLB1L3yxJjw1ECDJPmbl1W+2OS4KDojclyVYrc=";
 
-  nativeBuildInputs = [
-    installShellFiles
-  ];
+  nativeBuildInputs = [ installShellFiles ];
 
   postInstall = ''
     installManPage target/man/hyprdim.1
 
     installShellCompletion --cmd hyprdim \
-      --bash <(cat target/completions/hyprdim.bash) \
-      --fish <(cat target/completions/hyprdim.fish) \
-      --zsh <(cat target/completions/_hyprdim)
+      --bash target/completions/hyprdim.bash \
+      --fish target/completions/hyprdim.fish \
+      --zsh target/completions/_hyprdim
   '';
 
   passthru.updateScript = nix-update-script { };