about summary refs log tree commit diff stats
path: root/pkgs/by-name/st/stamp/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/st/stamp/package.nix')
-rw-r--r--pkgs/by-name/st/stamp/package.nix18
1 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/by-name/st/stamp/package.nix b/pkgs/by-name/st/stamp/package.nix
index 703f73e3..998268a6 100644
--- a/pkgs/by-name/st/stamp/package.nix
+++ b/pkgs/by-name/st/stamp/package.nix
@@ -1,20 +1,18 @@
 {
-  sysLib,
-  findutils,
+  writeShellApplication,
+  # Dependencies
   fd,
-  reuse,
   git,
+  reuse,
 }:
-sysLib.writeShellScript {
+writeShellApplication {
   name = "stamp";
-  src = ./stamp.sh;
-  generateCompletions = false;
-  keepPath = false;
+  text = builtins.readFile ./stamp.sh;
+  inheritPath = false;
 
-  dependencies = [
-    findutils
+  runtimeInputs = [
     fd
-    reuse
     git
+    reuse
   ];
 }