From cf6f0849bd5e45b23adfa9f4dc38606106c79bd0 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Tue, 17 May 2022 11:32:33 -0400 Subject: [PATCH] Fix update script --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 8cc07c4..e0ef090 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,7 @@ popd > /dev/null ''; myWeddingSiteUpdate = pkgs.writeShellScriptBin "my-wedding-site-update" '' - ${pkgs.rsync}/bin/rsync -aP ${myWeddingSiteDir} ${myWeddingSiteTgt} + ${pkgs.rsync}/bin/rsync -aP ${myWeddingSiteDir}/public/ ${myWeddingSiteTgt} ''; in rec { @@ -27,7 +27,7 @@ ]; shellHook = '' - export MY_WEDDING_SITE_DIR=$(pwd) + export MY_WEDDING_SITE_DIR="$(pwd)" ''; }; }