clj-nix
Nix helpers for Clojure projects (by jlesquembre)
nix-npm-buildpackage
Build nix packages that use npm/yarn (by serokell)
clj-nix | nix-npm-buildpackage | |
---|---|---|
2 | 4 | |
131 | 97 | |
- | - | |
8.1 | 3.3 | |
4 days ago | 8 months ago | |
Clojure | Nix | |
Eclipse Public License 2.0 | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clj-nix
Posts with mentions or reviews of clj-nix.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-18.
-
How to build clojurescript project with nix?
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?
-
[ANN] clj-nix: Nix helpers for Clojure applications
I'm happy to announce clj-nix: https://github.com/jlesquembre/clj-nix
nix-npm-buildpackage
Posts with mentions or reviews of nix-npm-buildpackage.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-25.
-
How do you build NodeJS project in Nix? 2022
https://github.com/serokell/nix-npm-buildpackage .
-
How to build clojurescript project with nix?
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.
-
Could you give me some tips on using node2nix or yarn2nix to install node packages that are not in the main node packages repo:
I’ve spent too much time trying to make mkYarnPackage from nixpkgs to work and finally found https://github.com/serokell/nix-npm-buildpackage, which at least for yarn pretty much worked out of the box for me.
-
How to install dependencies with Nix?
I usually got by with the python stuff in nixpkgs. Other than that for applications I would probably recommend poetry2nix as mentioned. For the nodejs I would use https://github.com/serokell/nix-npm-buildpackage
What are some alternatives?
When comparing clj-nix and nix-npm-buildpackage you can also consider the following projects:
digga - A flake utility library to craft shell-, home-, and hosts- environments.
dream2nix - Simplified nix packaging for various programming language ecosystems [maintainer=@DavHau]
boot - Build tooling for Clojure.
nix-darwin - nix modules for darwin
degasolv - Democratize dependency management.
node2nix - Generate Nix expressions to build NPM packages
nixpkgs - Nix Packages collection & NixOS
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
home-manager - Manage a user environment using Nix [maintainer=@rycee] [Moved to: https://github.com/nix-community/home-manager]
math-preview
clj-nix vs digga
nix-npm-buildpackage vs dream2nix
clj-nix vs boot
nix-npm-buildpackage vs nix-darwin
clj-nix vs degasolv
nix-npm-buildpackage vs node2nix
clj-nix vs nixpkgs
nix-npm-buildpackage vs Home Manager using Nix
clj-nix vs home-manager
nix-npm-buildpackage vs nixpkgs
nix-npm-buildpackage vs math-preview