Skip to content

[Nix] Include a package-lock.json in the repository #1900

Description

@arduano

Please consider taking the package-lock.json file out of gitignore. I understand that the package count is small enough where it doesn't really matter for most cases, but it's still generally standard practice to include it, and it will remove the need for Nix to include their own:
https://github.com/NixOS/nixpkgs/blob/592047fc9e4f7b74a4dc85d1b9f5243dfe4899e3/pkgs/servers/sunshine/default.nix#L65

The idea behind Nix is to have reproducible builds, so a package-lock is required to have a consistent build each time, and it's impossible to overwrite that without disabling sandboxing. So currently, Nix devs need to include their own package-lock for this project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions