mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
- Dev note about nixpkgs pin - More information about selecting a GHC version for cabal projects - A little bit more information about cross compiling, but this is still incomplete.
763 B
763 B
Haskell.nix Nixpkgs Pin
Haskell.nix contains a Nixpkgs pin in
nixpkgs/github.json.
This is the version of Nixpkgs used for builds of nix-tools and
running the tests.
Users should pass their own version of Nixpkgs to Haskell.nix, although things might not work for them if their Nixpkgs version is too different.
We aim to keep this pin somewhere on the channel of the NixOS latest stable release. That is currently 19.03. So:
nix-prefetch-git https://github.com/NixOS/nixpkgs-channels refs/heads/nixos-19.03
Keep the URL in github.json pointing at
https://github.com/NixOS/nixpkgs. Case matters because the Hydra
trusted URL whitelist is case-sensitive.