[Nix-dev] cabal2nix, nix-shell and persistence trick

Ruben Astudillo ruben.astud at gmail.com
Thu Jun 16 20:54:19 CEST 2016


Hi all.

When using `cabal2nix --shell . > shell.nix` and the persistent
environment trick[1] as shown in the wiki, the resulting environment
correspond to the actual one. Instead if I just launch `nix-shell` with
the output of cabal2nix --shell I get the correct setup.

Anybody with experience on this?. How do you set-up persistent
environment with cabal2nix?

[1]: 
https://nixos.org/wiki/Development_Environments#Making_a_Persistent_nix-shell_Environment

-- 
-- Ruben Astudillo


More information about the nix-dev mailing list