|
@ -16,7 +16,7 @@ |
|
|
popd > /dev/null |
|
|
popd > /dev/null |
|
|
''; |
|
|
''; |
|
|
myWeddingSiteUpdate = pkgs.writeShellScriptBin "my-wedding-site-update" '' |
|
|
myWeddingSiteUpdate = pkgs.writeShellScriptBin "my-wedding-site-update" '' |
|
|
${pkgs.rsync}/bin/rsync -aP ${myWeddingSiteDir} ${myWeddingSiteTgt} |
|
|
|
|
|
|
|
|
${pkgs.rsync}/bin/rsync -aP ${myWeddingSiteDir}/public/ ${myWeddingSiteTgt} |
|
|
''; |
|
|
''; |
|
|
in |
|
|
in |
|
|
rec { |
|
|
rec { |
|
@ -27,7 +27,7 @@ |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
shellHook = '' |
|
|
shellHook = '' |
|
|
export MY_WEDDING_SITE_DIR=$(pwd) |
|
|
|
|
|
|
|
|
export MY_WEDDING_SITE_DIR="$(pwd)" |
|
|
''; |
|
|
''; |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|