How to build clojurescript project with nix?

This page summarizes the projects mentioned and recommended in the original post on /r/NixOS

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • nix-npm-buildpackage

    Build nix packages that use npm/yarn

    The struggle began when I tried to set up nix build to build my webapp. The issue is that clojure have some dependencies and npm has other dependencies. First I managed to get all nom dependencies included by using npm-buildpackage. This seems to be working correctly. However when building the application with shadow-cljs it fails. My guess is that it fails when trying to get dependencies from my deps.edn file.

  • clj-nix

    Nix helpers for Clojure projects

    I'm not sure if it helps, but there's clj-nix, which manages Clojure dependencies. Maybe you could create separate derivations for both kinds of dependencies and require them both in your flake.nix?

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts