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
|
# node-deps.nix
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{
|
||||||
|
pkgs ? import <nixpkgs> { },
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
packageJSON = pkgs.writeTextFile {
|
packageJSON = pkgs.writeTextFile {
|
||||||
|
@ -20,7 +22,7 @@ let
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
packageJSON = packageJSON;
|
packageJSON = packageJSON;
|
||||||
yarnLock = ./yarn.lock;
|
yarnLock = ./yarn.lock;
|
||||||
yarnFlags = ["--frozen-lockfile"];
|
yarnFlags = [ "--frozen-lockfile" ];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{
|
||||||
|
pkgs ? import <nixpkgs> { },
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
nodeDeps = import ./node-deps.nix { inherit pkgs; };
|
nodeDeps = import ./node-deps.nix { inherit pkgs; };
|
||||||
|
@ -15,6 +17,8 @@ pkgs.mkShell {
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
rm -rf package.json
|
rm -rf package.json
|
||||||
|
|
||||||
|
git pull
|
||||||
|
|
||||||
ln -sf ${packageJSON} package.json
|
ln -sf ${packageJSON} package.json
|
||||||
ln -sf ${nodeModules}/node_modules .
|
ln -sf ${nodeModules}/node_modules .
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue