about summary refs log tree commit diff stats
path: root/modules/by-name/un/unison/shellScript.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/un/unison/shellScript.nix')
-rw-r--r--modules/by-name/un/unison/shellScript.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/by-name/un/unison/shellScript.nix b/modules/by-name/un/unison/shellScript.nix
index 5ff0c219..4618ae8e 100644
--- a/modules/by-name/un/unison/shellScript.nix
+++ b/modules/by-name/un/unison/shellScript.nix
@@ -78,11 +78,7 @@ in
 
         export UNISON=${esa cfg.dataDir};
 
-        if [ "$1" = "links" ]; then
-          shift 1;
-          EXTRA_OPTIONS="-links=true";
-        fi
-        EXTRA_OPTIONS="$EXTRA_OPTIONS $*"
+        EXTRA_OPTIONS="$UNISON_EXTRA_OPTIONS $*"
       ''
       + script);