Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bump npmDepsHash in flake-module.nix #852

Closed
wants to merge 1 commit into from
Closed

bump npmDepsHash in flake-module.nix #852

wants to merge 1 commit into from

Conversation

rgoulter
Copy link
Contributor

@rgoulter rgoulter commented Mar 27, 2023

For the Nix stuff added in #772, following #808.

Each time the javascript/package-lock.json updates, someone who likes nix should run something like:

export NEW_VER=$(nix run nixpkgs#prefetch-npm-deps -- javascript/package-lock.json 2>/dev/null) && \
  sed -i "/npmDepsHash/s/\".*\"/\"$NEW_VER\"/" flake-module.nix

to update the value of the npmDepsHash in the flake-module.nix.

@rgoulter rgoulter closed this Mar 27, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant