Skip to content

build: add nix support#27

Open
Tygo-van-den-Hurk wants to merge 6 commits intomainfrom
build/add-nix-support
Open

build: add nix support#27
Tygo-van-den-Hurk wants to merge 6 commits intomainfrom
build/add-nix-support

Conversation

@Tygo-van-den-Hurk
Copy link
Copy Markdown
Owner

I use nix for everything so it felt kinda weird not having it in this project. Nix will ensure that all colaborators use the exact same version of node, as well as the docker.

Checklist

  • Made sure my pull request fits CONTRIBUTING.md.
  • Marked commits with ! if they were breaking changes.
  • Updated the docs/ when needed.
  • Added tests to test/ for all new code.
  • This pull request does not fix a security issue. (See SECURITY.md)

Meta data

Built on platform (select all applicable):

  • Linux (x86_64)
  • Linux (aarch64)
  • Macos (x86_64)
  • Macos (aarch64)
  • Windows (x86_64)
  • Windows (aarch64)
  • other: ...

Add a 👍 reaction to pull requests you find important.

@Tygo-van-den-Hurk Tygo-van-den-Hurk self-assigned this Mar 13, 2026
@github-actions github-actions bot added the build Changes that affect the build system or dependencies label Mar 13, 2026
I use nix for everything so it felt kinda weird not having it in this project.
Nix will ensure that all colaborators use the exact same version of node, as
well as the docker.
This allows for fully reproducible docker images. Now both the run, and build
environment is the same.
This caused nix builds to fail as they do not allow network access during
build.
This makes sure that all workflows use the same version of node as the runtime
node it should use.
@github-actions github-actions bot added ci Changes to CI configuration or scripts test Adding or updating tests labels Mar 15, 2026
Removed the `build from source` sectio as no one in their right minds was going
to, or should even do so. Added a nix installation section for how to install
Slyde if you do have nix.
For nix to install nodejs from the current working directory, you need to check
out the current working directory first.
@github-actions github-actions bot added the docs Documentation-only changes label Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Changes that affect the build system or dependencies ci Changes to CI configuration or scripts docs Documentation-only changes test Adding or updating tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant