From ee54e83a15d630361a1c6e54648d61919f8067de Mon Sep 17 00:00:00 2001 From: Stefan Date: Sat, 28 Dec 2024 23:16:17 +0000 Subject: [PATCH] Karen's Diner is closed --- {place => _deleted_places}/karens-diner.md | 0 {place => _deleted_places}/karens-diner/01.jpg | Bin {place => _deleted_places}/karens-diner/02.jpg | Bin node-deps.nix | 6 ++++-- shell.nix | 6 +++++- 5 files changed, 9 insertions(+), 3 deletions(-) rename {place => _deleted_places}/karens-diner.md (100%) rename {place => _deleted_places}/karens-diner/01.jpg (100%) rename {place => _deleted_places}/karens-diner/02.jpg (100%) 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 .