Karen's Diner is closed

This commit is contained in:
stefan burke 2024-12-28 23:16:17 +00:00
parent b983753242
commit ee54e83a15
5 changed files with 9 additions and 3 deletions

View file

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 207 KiB

View file

Before

Width:  |  Height:  |  Size: 274 KiB

After

Width:  |  Height:  |  Size: 274 KiB

View file

@ -1,5 +1,7 @@
# node-deps.nix
{ pkgs ? import <nixpkgs> {} }:
{
pkgs ? import <nixpkgs> { },
}:
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
{

View file

@ -1,4 +1,6 @@
{ pkgs ? import <nixpkgs> {} }:
{
pkgs ? import <nixpkgs> { },
}:
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 .