diff options
author | Soispha <soispha@vhack.eu> | 2024-02-20 16:35:15 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-20 16:35:15 +0100 |
commit | cc09b607330385d6d81b9c47cf64a2442432e93f (patch) | |
tree | dc7e4503a3341b8936576c6339a70df4adaa2512 /hm/soispha/pkgs/scripts.nix | |
parent | refactor(hm/conf/zsh/config): Rework old config scripts (diff) | |
download | nixos-config-cc09b607330385d6d81b9c47cf64a2442432e93f.zip |
refactor(treewide): Add a `.sh` extension to shell scripts
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/pkgs/scripts.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix index 57aff326..a1603656 100644 --- a/hm/soispha/pkgs/scripts.nix +++ b/hm/soispha/pkgs/scripts.nix @@ -14,7 +14,7 @@ }: sysLib.writeShellScript { inherit name keepPath; - src = ./scripts/${path}/${name}; + src = ./scripts/${path}/${name}.sh; dependencies = dependencies ++ [pkgs.dash]; generateCompletions = completions; }; @@ -25,7 +25,7 @@ dependencies_python ? _: [], keepPath ? false, }: let - src = ./scripts/${path}/${name}; + src = ./scripts/${path}/${name}.py; dependencies = [(pkgs.python3.withPackages dependencies_python)] ++ dependencies_system; @@ -53,7 +53,7 @@ con2pdf-scr = sysLib.writeShellScript { name = "con2pdf"; - src = ./scripts/apps/con2pdf; + src = ./scripts/apps/con2pdf.sh; dependencies = builtins.attrValues {inherit (pkgs) sane-backends imagemagick coreutils fd;}; generateCompletions = true; replacementStrings = { @@ -113,7 +113,7 @@ ll-scr = sysLib.writeShellScript { name = "ll"; - src = ./scripts/wrappers/ll; + src = ./scripts/wrappers/ll.sh; wrap = false; }; |