Karen's Diner is closed
This commit is contained in:
parent
b983753242
commit
ee54e83a15
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 207 KiB |
Before Width: | Height: | Size: 274 KiB After Width: | Height: | Size: 274 KiB |
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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 .
|
||||
|
||||
|
|
Loading…
Reference in a new issue