on iko/ghcjs-patch-master help sign in
tests: update nixpkgs pin to 19.09 channel (#260)
0696aebRodney Lorrimar
docs/dev/nixpkgs-pin.md+7−3
@@ -10,11 +10,15 @@ Nixpkgs. Users should probably pin a suitable version of nixpkgs
10although, although things might not work for them if their Nixpkgs version is
10although, although things might not work for them if their Nixpkgs version is
11too different.
11too different.
12
12
13−We aim to keep this pin somewhere on the channel of the **NixOS latest
13+We aim to keep this pin somewhere on a channel of the **Nixpkgs latest
14−stable release**. That is currently 19.03. So:
14+stable release**. That is currently 19.09.
15+
16+We also execute tests on MacOS (darwin). The darwin channel is usually
17+behind the NixOS channel. So we choose the `nixpkgs-19.09-darwin`
18+channel:
15
19
16```
20```
17−nix-prefetch-git https://github.com/NixOS/nixpkgs-channels refs/heads/nixos-19.03
21+nix-prefetch-git https://github.com/NixOS/nixpkgs-channels refs/heads/nixpkgs-19.09-darwin
18```
22```
19
23
20Keep the URL in `github.json` pointing at
24Keep the URL in `github.json` pointing at
nixpkgs/default.nix+1
@@ -1,3 +1,4 @@
1+# see ../docs/dev/nixpkgs-pin.md
1{ nixpkgs-pin ? "github", ... }@args:
2{ nixpkgs-pin ? "github", ... }@args:
2let
3let
3 fetch = jsonFile:
4 fetch = jsonFile:
nixpkgs/github.json+3−2
@@ -1,6 +1,7 @@
1{
1{
2 "url": "https://github.com/NixOS/nixpkgs",
2 "url": "https://github.com/NixOS/nixpkgs",
3− "rev": "fe797e0adefc0ff50867a9898d445aee0d4e8f49",
3+ "rev": "5000b1478a11acbff7d95519c7300f3e6691885d",
4− "sha256": "0ddhhfh87bl165j8jxscyq9bzzvykqz1f1r00nad0g6c7b59rifz",
4+ "date": "2019-10-13T18:41:59-04:00",
5+ "sha256": "0yyhkf48b15dcnq0gbiyi4ypjn09a0mpy6v7yilidwqydmkc0wxr",
5 "fetchSubmodules": false
6 "fetchSubmodules": false
6}
7}