client icon indicating copy to clipboard operation
client copied to clipboard

Broken nix flake

Open RatCornu opened this issue 8 months ago • 0 comments

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: c31f4153c2c0a0b8063a8b525a963fbe8002a3da

RatCornu avatar Jun 13 '24 23:06 RatCornu