Gabriella439 / haskell-nix

Nix and Haskell in production
1.14k stars 117 forks source link

Why both a default.nix and releaseX.nix? #59

Open CThuleHansen opened 6 years ago

CThuleHansen commented 6 years ago

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! I guess it has something do with releaseX.nix setting up nix infrastructure, whereas default.nix contains project build instructions.

https://github.com/Gabriel439/haskell-nix/blob/774325aeeba379f42d3e11ab824cc8c78876eb40/project0/README.md#nix-derivations

tssm commented 5 years ago

I found an explanation here