Commit Graph

12 Commits

Author SHA1 Message Date
Greg Pfeil
c47bdcfdc5
Get Nix build working with GHC 9.6.5
Bumped some versions around, but they’re negotiable.
- ormolu 0.5.2.0 → 0.7.2.0
- hls 2.9.0.0 → 2.8.0.0
- stack 2.15.5 → 2.15.7
2024-06-27 20:40:35 -06:00
Greg Pfeil
01e03512f0
Switch nixos-unstable to release-23.11
There are various benefits to using a Nixpkgs release
- more likely that things are cached
- easier to update the input without breaking everything

This also renames a lot of things in the flake:
- `nixpkgs-unstable` to `nixpkgs-release` – partially because it’s not
  unstable any more, but also because both it and the nixpkgs from
  haskell.nix unstable, so it didn’t really clarify anything
- `nixpkgs` to `nixpkgs-haskellNix` – to make it clear where it comes from
- `unstable` to `release-pkgs` – the convention is to use `pkgs` for
  derivation attrsets, and the source switched from unstable to release
- `nixpkgs-packages` to `tool-pkgs` – this holds our build tools, so
  that seemed clearer than “nixpkgs”
2024-06-27 17:37:48 -06:00
Greg Pfeil
f943ba157b
Remove flake-compat input
`flake-compat` is used to produce “old-style” default.nix and shell.nix
files from a flake. We have neither and so this input is simply unused.
2024-06-01 13:03:34 -06:00
Travis Staton
29b232d696
Add build-tools devShell that doesn't depend on haskell.nix 2023-11-15 15:32:38 -05:00
Travis Staton
b3a9e09a30
bump nix 2023-11-08 15:19:23 -05:00
Travis Staton
d8a80bea52
bump haskell.nix to support new lsp
add iohk cache but remove macos due to codesigning bug
2023-08-21 17:25:55 -04:00
Travis Staton
2adc9b25e3
upgrade haskell.nix 2023-07-07 12:14:07 -04:00
Travis Staton
78a9f51a27
use haskell.nix 2023-06-13 16:21:30 -04:00
Cody Allen
e75a27120c
Update nix flake for GCH 9.2.7
Resolves #4026

I was able to remove some overrides that we were using to get ormolu
0.5.0.1 to build with GHC 8.10.7. It's possible that more cruft can be
removed, but I don't understand it well enough to feel confident in
messing with it. We are no longer explicitly asking for ormolu 0.5.0.1
because I couldn't figure out how to do that, but 0.5.0.1 is the
version in the nixpkgs hash that we are currently locked on.

On my linux box both `stack build && stack test` and HLS support work.
2023-05-25 10:35:36 -04:00
Travis Staton
ac37e76fab
update nix flake
- bump nixpkgs
- bump ormolu to 0.5.0.1
- ensure hls is linked to ormolu 0.5.0.1
- add package outputs and do some organization
2023-03-15 14:11:23 -04:00
Cody Allen
a45c8d87dc
nix dev-shell: darwin requires Cocoa 2023-01-30 14:10:33 -05:00
Travis Staton
c9dc7ce2e9
Add nix flake for common dev env 2023-01-27 12:46:48 -05:00