Skip to content

Commit 4fafa7a

Browse files
committed
Merge branch 'master' of github.com:input-output-hk/haskell.nix into circuithub
2 parents 1086081 + 9c1c221 commit 4fafa7a

File tree

1,574 files changed

+29164
-99327
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,574 files changed

+29164
-99327
lines changed

.github/workflows/pipeline.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- master
77

8+
push:
9+
branches:
10+
- master
11+
812
defaults:
913
run:
1014
shell: bash

ci.nix

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
inherit (pkgs.haskell-nix) sources;
1414
nixpkgsVersions = {
1515
"R2205" = "nixpkgs-2205";
16+
"R2211" = "nixpkgs-2211";
1617
"unstable" = "nixpkgs-unstable";
1718
};
1819
haskellNix = compat { inherit checkMaterialization system; };
@@ -49,13 +50,18 @@
4950
nixpkgs.lib.optionalAttrs (nixpkgsName == "R2205") {
5051
ghc865 = false;
5152
ghc8107 = false;
53+
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2211") {
54+
ghc865 = false;
55+
ghc8107 = false;
56+
ghc902 = false;
57+
ghc926 = false;
58+
ghc944 = false;
5259
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
5360
ghc865 = false;
5461
ghc884 = false; # Native version is used to boot 9.0.1
5562
ghc8107 = true;
5663
ghc902 = false;
57-
ghc924 = false;
58-
ghc925 = true;
64+
ghc926 = true;
5965
ghc944 = true;
6066
}));
6167
crossSystems = nixpkgsName: nixpkgs: compiler-nix-name:
@@ -67,10 +73,10 @@
6773
|| (system == "x86_64-darwin" && __elem compiler-nix-name ["ghc8107"]))) {
6874
inherit (lib.systems.examples) ghcjs;
6975
} // lib.optionalAttrs (nixpkgsName == "unstable"
70-
&& ((system == "x86_64-linux" && __elem compiler-nix-name ["ghc8107" "ghc902" "ghc925" "ghc944"])
76+
&& ((system == "x86_64-linux" && __elem compiler-nix-name ["ghc8107" "ghc902" "ghc926" "ghc944"])
7177
|| (system == "x86_64-darwin" && __elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
7278
inherit (lib.systems.examples) mingwW64;
73-
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && __elem compiler-nix-name ["ghc8107" "ghc902" "ghc922" "ghc923" "ghc924" "ghc925"]) {
79+
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && __elem compiler-nix-name ["ghc8107" "ghc902" "ghc922" "ghc923" "ghc924" "ghc926"]) {
7480
# Musl cross only works on linux
7581
# aarch64 cross only works on linux
7682
inherit (lib.systems.examples) musl64 aarch64-multiplatform;

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
let
44
pins = (__fromJSON (__readFile ./flake.lock)).nodes;
5-
nixpkgsPin = pins.nixpkgs-2205.locked;
5+
nixpkgsPin = pins.nixpkgs-2211.locked;
66
flakeCompatPin = pins.flake-compat.locked;
77
nixpkgsSrc =
88
builtins.fetchTarball {

docs/tutorials/development/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ in pkgs.haskell-nix.project {
2626
src = ./.;
2727
};
2828
# Specify the GHC version to use.
29-
compiler-nix-name = "ghc925"; # Not required for `stack.yaml` based projects.
29+
compiler-nix-name = "ghc926"; # Not required for `stack.yaml` based projects.
3030
}

docs/tutorials/development/nix/sources.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
"homepage": "https://input-output-hk.github.io/haskell.nix",
66
"owner": "input-output-hk",
77
"repo": "haskell.nix",
8-
"rev": "d20fc9dc2245a5f5d1d3dc898bf41e6f58b7486d",
9-
"sha256": "09qkfbxkrymcsiaydw6iyvpw14y5279863a25m62cxbb44hnqan3",
8+
"rev": "d61a3f429425e57108ca2b5355f10df94dafe39d",
9+
"sha256": "1fra8grb1jzfb794vm9kw090bb5kiq5g11xmb3nkm2lk60yixjx3",
1010
"type": "tarball",
11-
"url": "https://github.com/input-output-hk/haskell.nix/archive/d20fc9dc2245a5f5d1d3dc898bf41e6f58b7486d.tar.gz",
11+
"url": "https://github.com/input-output-hk/haskell.nix/archive/d61a3f429425e57108ca2b5355f10df94dafe39d.tar.gz",
1212
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
1313
},
1414
"nixpkgs": {
15-
"branch": "release-21.05",
15+
"branch": "release-22.11",
1616
"description": "Nix Packages collection",
1717
"homepage": "",
1818
"owner": "NixOS",
1919
"repo": "nixpkgs",
20-
"rev": "5f244caea76105b63d826911b2a1563d33ff1cdc",
21-
"sha256": "1xlgynfw9svy7nvh9nkxsxdzncv9hg99gbvbwv3gmrhmzc3sar75",
20+
"rev": "b7ce17b1ebf600a72178f6302c77b6382d09323f",
21+
"sha256": "sha256-uNvD7fzO5hNlltNQUAFBPlcEjNG5Gkbhl/ROiX+GZU4=",
2222
"type": "tarball",
23-
"url": "https://github.com/NixOS/nixpkgs/archive/5f244caea76105b63d826911b2a1563d33ff1cdc.tar.gz",
23+
"url": "https://github.com/NixOS/nixpkgs/archive/b7ce17b1ebf600a72178f6302c77b6382d09323f.tar.gz",
2424
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
2525
}
2626
}

docs/tutorials/getting-started-flakes/flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
helloProject =
1313
final.haskell-nix.project' {
1414
src = ./.;
15-
compiler-nix-name = "ghc925";
15+
compiler-nix-name = "ghc926";
1616
# This is used by `nix develop .` to open a shell for use with
1717
# `cabal`, `hlint` and `haskell-language-server`
1818
shell.tools = {

docs/tutorials/getting-started/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ in pkgs.haskell-nix.project {
2626
src = ./.;
2727
};
2828
# Specify the GHC version to use.
29-
compiler-nix-name = "ghc925"; # Not required for `stack.yaml` based projects.
29+
compiler-nix-name = "ghc926"; # Not required for `stack.yaml` based projects.
3030
}

docs/tutorials/getting-started/nix/sources.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"homepage": "https://input-output-hk.github.io/haskell.nix",
66
"owner": "input-output-hk",
77
"repo": "haskell.nix",
8-
"rev": "d20fc9dc2245a5f5d1d3dc898bf41e6f58b7486d",
9-
"sha256": "09qkfbxkrymcsiaydw6iyvpw14y5279863a25m62cxbb44hnqan3",
8+
"rev": "d61a3f429425e57108ca2b5355f10df94dafe39d",
9+
"sha256": "1fra8grb1jzfb794vm9kw090bb5kiq5g11xmb3nkm2lk60yixjx3",
1010
"type": "tarball",
11-
"url": "https://github.com/input-output-hk/haskell.nix/archive/d20fc9dc2245a5f5d1d3dc898bf41e6f58b7486d.tar.gz",
11+
"url": "https://github.com/input-output-hk/haskell.nix/archive/d61a3f429425e57108ca2b5355f10df94dafe39d.tar.gz",
1212
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
1313
},
1414
"nixpkgs": {

0 commit comments

Comments
 (0)