refactor: pkgs paths to self

This commit is contained in:
Leon Schwarzäugl 2024-12-29 00:23:43 +01:00
parent b71bb5794a
commit d397be861b
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
26 changed files with 174 additions and 126 deletions

View file

@ -1,7 +1,9 @@
{ writeShellApplication, emacs30-pgtk, sway, jq }:
writeShellApplication {
{ self, writeShellApplication, emacs30-pgtk, sway, jq }:
let
name = "e";
in
writeShellApplication {
inherit name;
runtimeInputs = [ emacs30-pgtk sway jq ];
text = builtins.readFile ../../scripts/e.sh;
text = builtins.readFile "${self}/scripts/${name}.sh";
}