diff options
author | EuAndreh <eu@euandre.org> | 2019-06-02 14:15:09 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-02 14:15:09 -0300 |
commit | 02c68276465dafbb0c8b597980067c5ccb286d5a (patch) | |
tree | 31856fed81e02c97a01dff9604ddff51544a9ca7 | |
parent | Disable SC2086 (diff) | |
download | dotfiles-02c68276465dafbb0c8b597980067c5ccb286d5a.tar.gz dotfiles-02c68276465dafbb0c8b597980067c5ccb286d5a.tar.xz |
Format Nix files (linter offense)
Diffstat (limited to '')
-rw-r--r-- | default.nix | 5 | ||||
-rw-r--r-- | utils.nix | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/default.nix b/default.nix index dc9418a..2050d31 100644 --- a/default.nix +++ b/default.nix @@ -35,7 +35,6 @@ in rec { (utils.fixme [ "default.nix" "utils.nix" ]) subtasks.uniqueFeeds ]; - publishScript = utils.overwritingPublishScript { - docsDerivation = subtasks.docs; - }; + publishScript = + utils.overwritingPublishScript { docsDerivation = subtasks.docs; }; } @@ -89,7 +89,9 @@ in rec { pkgs.writeShellScriptBin "publish.sh" '' set -euo pipefail OUT_DOCS="${docsDerivation}" - ${if overwrite then "# " else ""}${pkgs.openssh}/bin/ssh -o StrictHostKeyChecking=no "$SERVER_URL" rm -rf "$DOCS_SERVER_PATH/*" + ${ + if overwrite then "# " else "" + }${pkgs.openssh}/bin/ssh -o StrictHostKeyChecking=no "$SERVER_URL" rm -rf "$DOCS_SERVER_PATH/*" ${pkgs.rsync}/bin/rsync -avzP \ --rsh="ssh -o StrictHostKeyChecking=no" \ "$OUT_DOCS/" \ |