Skip to content

chore(repo): add Nix flake for reproducible webui + cli builds - #338

Merged
bambanah merged 3 commits into
bambanah:mainfrom
TheCodedKid:feature/nix-support
Jul 8, 2026
Merged

chore(repo): add Nix flake for reproducible webui + cli builds#338
bambanah merged 3 commits into
bambanah:mainfrom
TheCodedKid:feature/nix-support

Conversation

@TheCodedKid

Copy link
Copy Markdown
Contributor

Summary

Adds a Nix flake so the webui server and cli can be built and run reproducibly with a single command, no manual node/pnpm setup.

  • flake.nix — pins nixpkgs, selects node 24 + pnpm 11, wires callPackage.
  • pkgs/deemix.nix — the derivation: offline pnpm deps (fetchPnpmDeps), turbo build, installs both runnables.

One shared pnpm-workspace build backs both outputs (they share the workspace deemix + deezer-sdk deps).

Usage

nix build .#webui          # or .#cli, .#default
nix run   .#webui          # server on 0.0.0.0:6595
nix run   .#cli -- <url>
nix develop                # dev shell: node 24 + pnpm 11

Checklist

  • I have tested the changes locally and they work as expected
  • This PR contains a changeset (pnpm changeset)

@TheCodedKid
TheCodedKid requested a review from bambanah as a code owner June 24, 2026 16:56
@changeset-bot

changeset-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e0ecc77

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@TheCodedKid

Copy link
Copy Markdown
Contributor Author

oops, forgot to include that

@bambanah

bambanah commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Sorry for the delay, looks great! Thanks for the PR

@bambanah
bambanah merged commit 7dcc3b6 into bambanah:main Jul 8, 2026
1 check passed
@TheCodedKid
TheCodedKid deleted the feature/nix-support branch July 13, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants