How to install dependencies with Nix?

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

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

    Nix Packages collection & NixOS

  • The python documentation is usually up-to-date and mostly comprehensive https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md

  • node2nix

    Generate Nix expressions to build NPM packages

  • For node programs, you may be able to find the commands as just packages, or look at https://github.com/svanderburg/node2nix for creating the nix equivalent of a node-modules

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • nix-npm-buildpackage

    Build nix packages that use npm/yarn

  • 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

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