Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hallettj@leminal.space to nixos@lemmy.mlEnglish · 1 year ago

Nix, NPM, and Dependabot

sitr.us

external-link
message-square
3
fedilink
  • cross-posted to:
  • nix@programming.dev
10
external-link

Nix, NPM, and Dependabot

sitr.us

hallettj@leminal.space to nixos@lemmy.mlEnglish · 1 year ago
message-square
3
fedilink
  • cross-posted to:
  • nix@programming.dev
I have a project, git-format-staged, that I build with Nix. It includes NPM dependencies, and it is convenient to have Dependabot keep those up-to-date for me. Dependabot creates pull requests that update package-lock.json when it sees updates with security fixes and such. But my Nix configuration includes a hash of the project NPM dependencies - that hash must be updated when package-lock.json changes. Unfortunately Dependabot does not know how to do that. So I came up with a workflow to help that bot out. …
alert-triangle
You must log in or # to comment.
  • haroldstork@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    This is so cool! Where do you even find NixOS blogs like this?

    • hallettj@leminal.spaceOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Thanks! This is my blog. I might have some more Nix content coming up relating to Rust and docker-compose because that’s what I’ve been working with.

      • haroldstork@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I’d love to read about it!

nixos@lemmy.ml

nixos@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !nixos@lemmy.ml

All about NixOS - https://nixos.org/

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 12 users / month
  • 32 users / 6 months
  • 15 local subscribers
  • 1.48K subscribers
  • 116 Posts
  • 340 Comments
  • Modlog
  • mods:
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org