cabal2nix
nix-direnv
Our great sponsors
cabal2nix | nix-direnv | |
---|---|---|
1 | 27 | |
350 | 1,389 | |
2.9% | 10.7% | |
6.4 | 9.1 | |
about 2 months ago | 8 days ago | |
Haskell | Nix | |
GNU General Public License v3.0 or later | MIT License |
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.
cabal2nix
nix-direnv
-
How do multiple versions of the package internally work?
BTW: I personally use direnv with nix-direnv. This basically works by setting your shell with proper tooling when you enter the directory.
-
I have a few beginner question, what is the difference between nix shell/env and what is the difference between flakes/home-manager?
I'm not sure what you mean by nix env, maybe you are referring to nix-direnv?
-
How do YOU use your PKMS?
I further make my software projects so that when I click a link I go into an environment pre-loaded with their dependencies so dropping in/out of projects is always frictionless. I do this with the reproducibility guarantees of nix, along with glue like nix-direnv and envrc-mode to direnv.
-
Nuenv: an experimental Nushell environment for Nix
(I also use nix-direnv)
-
NixOS + Haskell best practices circa March 2023
direnv
-
Minimal approach for python devel environment with flake
Personally I use nix-direnv. No longer the need to run nix develop or nix-shell. By setting up a .envrc with either use nix or use flake it will automatically install all the packages from default/shell.nix or flake.nix
-
Nix and envrc
Direnv is installed using the nix-direnv installation instructions under "Via configuration.nix in NixOS". I read some recommendations that envrc.el is a better alternative then direnv.el, and after some testing I have to agree. (envrc-global-mode) is enabled in my config. This works perfectly with a normal emacs instance.
- Nix Flakes
- Nix and NixOS, my pain points
-
portable dev setup (nix+asdf)
ok i see from the readme that this is very workable. https://github.com/nix-community/nix-direnv
What are some alternatives?
devshell - Per project developer environments
flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]
devenv - Fast, Declarative, Reproducible, and Composable Developer Environments
cblrepo - Tool to simplify managing a consistent set of Haskell packages for distributions.
lorri - Your project's nix-env
flake-templates - A collection of basic Nix flake templates
ekg-json - JSON encoding of ekg metrics
naersk - Build Rust projects in Nix - no configuration, no code generation, no IFD, sandbox friendly. [maintainer=@AxelSilverdew]
rnix-lsp - WIP Language Server for Nix! [maintainer=@aaronjanse]
jailbreak-cabal - Strip version restrictions from build dependencies in Cabal files.
rust-overlay - Pure and reproducible nix overlay of binary distributed rust toolchains
nonguix