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