Skip to content

Commit 9371e0b

Browse files
committed
bumps
1 parent c26b6ac commit 9371e0b

9 files changed

+117
-296
lines changed

default.nix

-49
This file was deleted.

flake.lock

+61
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
inputs = {
3+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
4+
flake-utils.url = "github:numtide/flake-utils";
5+
};
6+
7+
outputs = inputs:
8+
inputs.flake-utils.lib.eachDefaultSystem (system:
9+
let
10+
pkgs = import inputs.nixpkgs { inherit system; };
11+
12+
inherit (pkgs.lib) fold composeExtensions concatMap attrValues;
13+
14+
hls = pkgs.haskell-language-server.override {
15+
supportedGhcVersions = [ "98" ];
16+
};
17+
18+
combineOverrides = old:
19+
fold composeExtensions (old.overrides or (_: _: { }));
20+
21+
in rec {
22+
23+
packages = let
24+
makeTestConfiguration = { ghcVersion, overrides ? new: old: { } }:
25+
let inherit (pkgs.haskell.lib) dontCheck packageSourceOverrides;
26+
in (pkgs.haskell.packages.${ghcVersion}.override (old: {
27+
overrides = combineOverrides old [
28+
(packageSourceOverrides { unfork = ./unfork; })
29+
overrides
30+
];
31+
})).unfork;
32+
in rec {
33+
ghc-9-6 = makeTestConfiguration { ghcVersion = "ghc96"; };
34+
ghc-9-8 = makeTestConfiguration { ghcVersion = "ghc98"; };
35+
all = pkgs.symlinkJoin {
36+
name = "unfork-tests";
37+
paths = [ ghc-9-6 ghc-9-8 ];
38+
};
39+
};
40+
41+
devShells.default = pkgs.mkShell {
42+
inputsFrom = [ packages.ghc-9-8.env ];
43+
buildInputs = [ pkgs.cabal-install ];
44+
};
45+
46+
});
47+
}

nix/ascii-case-1.0.1.0.nix

-11
This file was deleted.

nix/sources.json

-38
This file was deleted.

0 commit comments

Comments
 (0)