haskell-nix
haskell-nix copied to clipboard
Nix and Haskell in production
Hi. When I was going through the tutorial I was unsure of why there is both a default.nix and releaseX.nix. A sentence describing the difference between these would be great!...
From the README file: > stack creates a copy of each package for each resolver. This means that if you have two projects with different resolvers then they will not...
https://github.com/Gabriel439/haskell-nix/blob/774325aeeba379f42d3e11ab824cc8c78876eb40/project0/README.md#L40-L58 Real result right now: ```shell $ tree result/ result/ └── bin └── project0 1 directory, 1 file ``` I remember remotely there was work around distribution of LICENSE files....
When using the suggested format ```nix haskell = pkgs.haskell // { packages = pkgs.haskell.packages // { "${compiler}" = pkgs.haskell.packages."${compiler}".override { overrides = galoisOverrides; }; }; }; ``` to override the...
Hi Gabriel, I sort of hit a dead-end with nix yesterday and reverted to regular cabal without having nix install it. First of, I was trying to install hakyll with...
[This function](https://github.com/NixOS/nixpkgs/blob/464cf105c630109e19db8d183e229a749c0558db/pkgs/development/haskell-modules/lib.nix#L389) seems to do the same work as some of the code here: https://github.com/Gabriel439/haskell-nix/blob/master/project4/README.md. Is there overlap that could be reduced here?
Hi. I am on macOS running with nix 2.0. My nix-channel --list gives not output. What can be the cause of this? Does it just use the unstable without outputting?...
For example: ``` $ nix-build release0.nix ... Configuring optparse-applicative-0.13.0.0... CallStack (from HasCallStack): die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:948:20 in Cabal-2.0.1.0:Distribution.Simple.Configure configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:470:12 in Cabal-2.0.1.0:Distribution.Simple.Con figure configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:570:20 in...
Hey, I'm still moving from Stack to Nix & cabal and this tutorial helped me a lot! But a few _general_ points aren't clear , at least for me. -...
As I'm trying to make sense of Nix, I was slightly confused that I couldn't just `nix-build` the `default.nix`. https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure suggests another approach, where the generated nix expression is instead...