Skip to content

Broken nix flake #322

@RatCornu

Description

@RatCornu

Describe the bug
Hello! I tried to setup spacebar on my server which runs on NixOS, and I had no problem for the server but I cannot build the client package. I tried to fix it with postPatch without success

To Reproduce
Steps to reproduce the behavior:

  1. Build spacebar-client.packages.x86_64-linux.default

Console Logs

       last 15 log lines:
       > unpacking sources
       > unpacking source archive /nix/store/3gigs1b37w5c4gvlxdsv4dz67sbcn33d-sjsgd1k5a264frv9fdkk7dnzcylxbqvy-source
       > source root is sjsgd1k5a264frv9fdkk7dnzcylxbqvy-source
       > patching sources
       > configuring
       > no configure script, doing nothing
       > building
       >
       > ERROR: The package-lock.json file does not exist!
       >
       > package-lock.json is required to make sure that npmDepsHash doesn't change
       > when packages are updated on npm.
       >
       > Hint: You can copy a vendored package-lock.json file via postPatch.

System Information (please complete the following information):

  • OS: NixOS

Env and Software info

  • Brach: master
  • Commit Hash: c31f415

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