mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
refactor: pkgs paths to self
This commit is contained in:
parent
b71bb5794a
commit
d397be861b
26 changed files with 174 additions and 126 deletions
|
|
@ -1,7 +1,9 @@
|
|||
{ writeShellApplication, git }:
|
||||
|
||||
writeShellApplication {
|
||||
{ self, writeShellApplication, git }:
|
||||
let
|
||||
name = "swarsel-install";
|
||||
in
|
||||
writeShellApplication {
|
||||
inherit name;
|
||||
runtimeInputs = [ git ];
|
||||
text = builtins.readFile ../../scripts/swarsel-install.sh;
|
||||
text = builtins.readFile "${self}/scripts/${name}.sh";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue