From b82d6090ccf81d1ce0e5649c6fb55843c5b0252f Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Wed, 13 Apr 2022 20:13:24 -0400 Subject: [PATCH] Update flake --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 3b5b874..820297d 100644 --- a/flake.nix +++ b/flake.nix @@ -10,7 +10,7 @@ let pkgs = nixpkgs.legacyPackages.${system}; weddingSiteDir = "$HOME/.local/source/wedding-site/public/"; weddingSiteTgt = "ubuntu@chrishayward.xyz:/var/www/wedding"; - weddingSiteBuild = pkgs.writeShellScriptBind "wedding-site-build" '' + weddingSiteBuild = pkgs.writeShellScriptBin "wedding-site-build" '' pushd ${weddingSiteDir}../ && ${pkgs.hugo}/bin/hugo -v && popd ''; weddingSiteUpdate = pkgs.writeShellScriptBin "wedding-site-update" '' @@ -18,7 +18,7 @@ ''; in rec { - devShell = pkgs.mkShell { + devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ weddingSiteBuild weddingSiteUpdate