diff options
author | Soispha <soispha@vhack.eu> | 2024-02-24 15:28:06 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-24 15:28:06 +0100 |
commit | a2e2ecff05008f1f20e85010e1c79ff5ec64c4a6 (patch) | |
tree | d1941868c0b2c504e17f8962932c5f2f6ec7a799 /sys/nixpkgs/pkgs | |
parent | chore(version): v1.33.1 (diff) | |
download | nixos-config-a2e2ecff05008f1f20e85010e1c79ff5ec64c4a6.tar.gz nixos-config-a2e2ecff05008f1f20e85010e1c79ff5ec64c4a6.zip |
fix(treewide): Add shell library import directive
Diffstat (limited to 'sys/nixpkgs/pkgs')
-rwxr-xr-x | sys/nixpkgs/pkgs/scripts/source/specific/neorg/neorg_id_function.sh | 6 | ||||
-rwxr-xr-x | sys/nixpkgs/pkgs/snap-sync-forked/snap-sync-forked.sh | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/scripts/source/specific/neorg/neorg_id_function.sh b/sys/nixpkgs/pkgs/scripts/source/specific/neorg/neorg_id_function.sh index 7c3fb2a3..aa79a2ac 100755 --- a/sys/nixpkgs/pkgs/scripts/source/specific/neorg/neorg_id_function.sh +++ b/sys/nixpkgs/pkgs/scripts/source/specific/neorg/neorg_id_function.sh @@ -1,4 +1,8 @@ -#! /bin/sh +#! /usr/bin/env dash + +# shellcheck source=/dev/null +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH + context="$(task _get rc.context)" if [ "$context" ]; then filter="project:$context" diff --git a/sys/nixpkgs/pkgs/snap-sync-forked/snap-sync-forked.sh b/sys/nixpkgs/pkgs/snap-sync-forked/snap-sync-forked.sh index 47230667..ccfb8aad 100755 --- a/sys/nixpkgs/pkgs/snap-sync-forked/snap-sync-forked.sh +++ b/sys/nixpkgs/pkgs/snap-sync-forked/snap-sync-forked.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# shellcheck source=/dev/null +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH + +# # snap-sync # https://github.com/wesbarnett/snap-sync # Copyright (C) 2016-2021 Wes Barnett |