on iko/ghcjs-patch-master help sign in
tests: update nixpkgs pin to 19.09 channel (#260)

* tests: update nixpkgs pin to 19.09 channel * Nixpkgs pin: use darwin channel instead of NixOS

commit0696aebb164e60178e1ea0d40b65d39dd76b5e96 authorRodney Lorrimar <rodney.lorrimar@iohk.io> dateMon 21 Oct 2019, 22:11 (7 years ago) parent5884ab0
3 files changed+11−5
docs/dev/nixpkgs-pin.md+7−3 nixpkgs/default.nix+1 nixpkgs/github.json+3−2
docs/dev/nixpkgs-pin.md+7−3
@@ -10,11 +10,15 @@ Nixpkgs. Users should probably pin a suitable version of nixpkgs
1010although, although things might not work for them if their Nixpkgs version is
1111too different.
1212
13−We aim to keep this pin somewhere on the channel of the **NixOS latest
14−stable release**. That is currently 19.03. So:
13+We aim to keep this pin somewhere on a channel of the **Nixpkgs latest
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:
1519
1620```
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
1822```
1923
2024Keep the URL in `github.json` pointing at
nixpkgs/default.nix+1
@@ -1,3 +1,4 @@
1+# see ../docs/dev/nixpkgs-pin.md
12{ nixpkgs-pin ? "github", ... }@args:
23let
34 fetch = jsonFile:
nixpkgs/github.json+3−2
@@ -1,6 +1,7 @@
11{
22 "url": "https://github.com/NixOS/nixpkgs",
3− "rev": "fe797e0adefc0ff50867a9898d445aee0d4e8f49",
4− "sha256": "0ddhhfh87bl165j8jxscyq9bzzvykqz1f1r00nad0g6c7b59rifz",
3+ "rev": "5000b1478a11acbff7d95519c7300f3e6691885d",
4+ "date": "2019-10-13T18:41:59-04:00",
5+ "sha256": "0yyhkf48b15dcnq0gbiyi4ypjn09a0mpy6v7yilidwqydmkc0wxr",
56 "fetchSubmodules": false
67}