From 256e1e30180729d6ef20f8a9cc39a857acf309b7 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Tue, 17 May 2022 13:05:55 -0400 Subject: [PATCH] Replace command names --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e0ef090..95e79d7 100644 --- a/flake.nix +++ b/flake.nix @@ -10,12 +10,12 @@ let pkgs = nixpkgs.legacyPackages.${system}; myWeddingSiteDir = "$MY_WEDDING_SITE_DIR"; myWeddingSiteTgt = "ubuntu@chrishayward.xyz:/var/www/wedding"; - myWeddingSiteBuild = pkgs.writeShellScriptBin "my-wedding-site-build" '' + myWeddingSiteBuild = pkgs.writeShellScriptBin "wedding-site-build" '' pushd ${myWeddingSiteDir} > /dev/null && ${pkgs.hugo}/bin/hugo -v ; \ popd > /dev/null ''; - myWeddingSiteUpdate = pkgs.writeShellScriptBin "my-wedding-site-update" '' + myWeddingSiteUpdate = pkgs.writeShellScriptBin "wedding-site-update" '' ${pkgs.rsync}/bin/rsync -aP ${myWeddingSiteDir}/public/ ${myWeddingSiteTgt} ''; in