diff --git a/nix/checks.nix b/nix/checks.nix index c5d461f8..e9e01878 100644 --- a/nix/checks.nix +++ b/nix/checks.nix @@ -149,11 +149,7 @@ in version = "0.0.0"; src = ../frontend; - # Same lockfile as `frontend`/`swarm-ui` above — reads the same - # `frontend/npm-deps-hash` file both of those do, so this stays in - # lockstep automatically. Regenerate that file with - # `prefetch-npm-deps frontend/package-lock.json` when the lockfile - # changes. + # See `nix/packages/frontend.nix`'s comment on the same line. npmDepsHash = builtins.readFile ../frontend/npm-deps-hash; buildPhase = '' diff --git a/nix/packages/swarm-ui.nix b/nix/packages/swarm-ui.nix index bf9ade44..6d750f43 100644 --- a/nix/packages/swarm-ui.nix +++ b/nix/packages/swarm-ui.nix @@ -34,8 +34,7 @@ buildNpmPackage { version = "0.0.0"; src = ../../frontend; - # See `./frontend.nix`'s comment on the same line — one shared file, - # regenerate with `prefetch-npm-deps frontend/package-lock.json`. + # See `./frontend.nix`'s comment on the same line. npmDepsHash = builtins.readFile ../../frontend/npm-deps-hash; buildPhase = ''