Skip to content

Commit

Permalink
ci: use an even older nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-abrar committed Nov 18, 2020
1 parent cf840d4 commit 4f2a06f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ let
url = "https://github.com/nixos/nixpkgs/archive/f05c380a51daee53ac2edb0bac2fd5f1774e977a.tar.gz";
sha256 = "1xkgv4kvh2nii1kbxi0brjnb15scpzk8rkp7mzycgqh1lzfg23im";
}) {};
nixos1903 = import (builtins.fetchTarball {
name = "nixos-19.03_2020-11-18";
url = "https://github.com/nixos/nixpkgs/archive/34c7eb7545d155cc5b6f499b23a7cb1c96ab4d59.tar.gz";
sha256 = "11z6ajj108fy2q5g8y4higlcaqncrbjm3dnv17pvif6avagw4mcb";
nixos1809 = import (builtins.fetchTarball {
name = "nixos-18.09_2020-11-18";
url = "https://github.com/nixos/nixpkgs/archive/a7e559a5504572008567383c3dc8e142fa7a8633.tar.gz";
sha256 = "16j95q58kkc69lfgpjkj76gw5sx8rcxwi3civm0mlfaxxyw9gzp6";
}) {};
oldCompilers = [ "ghc802" "ghc844" ];
compilers = [ "ghc865" "ghc884" "ghc8101" ];
compileWith = ghcs: pkgs: map (c: pkgs.haskell.packages."${c}".callCabal2nix "aeson-gadt-th" ./. {}) ghcs;
in compileWith compilers nixos2003 ++ compileWith oldCompilers nixos1903
in compileWith compilers nixos2003 ++ compileWith oldCompilers nixos1809

0 comments on commit 4f2a06f

Please sign in to comment.