diff --git a/place/karens-diner.md b/_deleted_places/karens-diner.md similarity index 100% rename from place/karens-diner.md rename to _deleted_places/karens-diner.md diff --git a/place/karens-diner/01.jpg b/_deleted_places/karens-diner/01.jpg similarity index 100% rename from place/karens-diner/01.jpg rename to _deleted_places/karens-diner/01.jpg diff --git a/place/karens-diner/02.jpg b/_deleted_places/karens-diner/02.jpg similarity index 100% rename from place/karens-diner/02.jpg rename to _deleted_places/karens-diner/02.jpg diff --git a/node-deps.nix b/node-deps.nix index 44a15fe..15d85cb 100644 --- a/node-deps.nix +++ b/node-deps.nix @@ -1,5 +1,7 @@ # node-deps.nix -{ pkgs ? import {} }: +{ + pkgs ? import { }, +}: let packageJSON = pkgs.writeTextFile { @@ -20,7 +22,7 @@ let version = "1.0.0"; packageJSON = packageJSON; yarnLock = ./yarn.lock; - yarnFlags = ["--frozen-lockfile"]; + yarnFlags = [ "--frozen-lockfile" ]; }; in { diff --git a/shell.nix b/shell.nix index 3230160..288b44d 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,6 @@ -{ pkgs ? import {} }: +{ + pkgs ? import { }, +}: let nodeDeps = import ./node-deps.nix { inherit pkgs; }; @@ -15,6 +17,8 @@ pkgs.mkShell { rm -rf node_modules rm -rf package.json + git pull + ln -sf ${packageJSON} package.json ln -sf ${nodeModules}/node_modules .