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 /hm/soispha/conf/unison/default.nix | |
parent | chore(version): v1.33.1 (diff) | |
download | nixos-config-a2e2ecff05008f1f20e85010e1c79ff5ec64c4a6.zip |
fix(treewide): Add shell library import directive
Diffstat (limited to 'hm/soispha/conf/unison/default.nix')
-rw-r--r-- | hm/soispha/conf/unison/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hm/soispha/conf/unison/default.nix b/hm/soispha/conf/unison/default.nix index 94824fc9..7b91920c 100644 --- a/hm/soispha/conf/unison/default.nix +++ b/hm/soispha/conf/unison/default.nix @@ -134,8 +134,13 @@ in { (sysLib.writeShellScript { name = "unison-sync"; src = builtins.toFile "unison-backup" ('' - #!/usr/bin/env sh + #!/usr/bin/env dash + + # shellcheck source=/dev/null + SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH + export UNISON=${esa unisonPath}; + if [ "$1" = "links" ]; then EXTRA_OPTIONS="-links=true"; fi |