L2HPNHM2ZK6TRBAW5RW4T2C4MI6ZRQH2ATRLQGGNIXNVN25TLQBAC
E22LJP4FLYXYGD3WCHOV64RX6H3MOTKQV3ZBZOBWBON6CTL64CCAC
4FZ6627CHEHJTPLHE7MF6ZVFJKSDUAKOBGMJZ6QBR2HARWWCXOFQC
#+end_src** Haskellnix profile insrtall nixpkgs#cabal2nixcabal initcabal2nix . > project.nixMettre dans release.nix :#+begin_src nixlet pkgs = import <nixpkgs> { };in { project = pkgs.haskellPackages.callPackage ./project.nix { }; }
#+end_src
** Haskell
nix profile insrtall nixpkgs#cabal2nix
cabal init
cabal2nix . > project.nix
Mettre dans release.nix :
#+begin_src nix
let
pkgs = import <nixpkgs> { };
in
{
project = pkgs.haskellPackages.callPackage ./project.nix { };
}
Puis#+begin_src shnix-build release.nix./result/bin/misc#+end_src
Puis
#+begin_src sh
nix-build release.nix
./result/bin/misc