From 3a49e4f4bf23ab2c2bc59a7574cb8dfe2f07067d Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 24 Mar 2021 18:34:40 +0100 Subject: chore(3p): bump NixOS channels to 2021-03-25 OpenSSL released an update which fixes two severity high security issues: * https://mta.openssl.org/pipermail/openssl-announce/2021-March/000197.html * https://mta.openssl.org/pipermail/openssl-announce/2021-March/000198.html Update to the nixpkgs (currently still master) commits updating OpenSSL. Other changes: * Use GHC 8.8.4 for haskell-language-server as GHC 8.8.3 got removed from nixpkgs last friday. Change-Id: Ic1b2f49284e78193a4330da4bb4b718a797f5ab1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2653 Tested-by: BuildkiteCI Reviewed-by: tazjin Reviewed-by: lukegb Reviewed-by: glittershark --- third_party/default.nix | 12 ++++++------ third_party/haskell-language-server/default.nix | 5 ++++- third_party/haskell-language-server/hls.nix | 2 +- 3 files changed, 11 insertions(+), 8 deletions(-) (limited to 'third_party') diff --git a/third_party/default.nix b/third_party/default.nix index 834ae01e580d..d64789c06f96 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -5,11 +5,11 @@ { ... }: let - # Tracking nixos-unstable as of 2021-03-18. - nixpkgsCommit = "1f77a4c8c74bbe896053994836790aa9bf6dc5ba"; + # Tracking nixos-unstable as of 2021-03-25. + nixpkgsCommit = "60dd94fb7e01a8288f6638eee71d7cb354c49327"; nixpkgsSrc = fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/${nixpkgsCommit}.tar.gz"; - sha256 = "1j62nmzz3w33dplzf1xz1pg1pfkxii7lwdqmsxmc71cs9cm3s7n1"; + sha256 = "0skdwk9bdld295kzrymirs8xrzycqmhsclaz8s18jhcz75hb8sk3"; }; nixpkgs = import nixpkgsSrc { config.allowUnfree = true; @@ -21,11 +21,11 @@ let ]; }; - # Tracking nixos-20.09 as of 2021-03-15. - stableCommit = "12d9950bf47e0ac20d4d04e189448ee075242117"; + # Tracking nixos-20.09 as of 2021-03-25. + stableCommit = "223d0d733a66b46504ea6b4c15f88b7cc4db58fb"; stableNixpkgsSrc = fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/${stableCommit}.tar.gz"; - sha256 = "09wy33zbzxj33296ddrrb79630kxpj1c3kiv38zs4wrw24206c2v"; + sha256 = "073327ris0frqa3kpid3nsjr9w8yx2z83xpsc24w898mrs9r7d5v"; }; stableNixpkgs = import stableNixpkgsSrc {}; diff --git a/third_party/haskell-language-server/default.nix b/third_party/haskell-language-server/default.nix index 82dcbaf82dfd..aab73ce3ea3c 100644 --- a/third_party/haskell-language-server/default.nix +++ b/third_party/haskell-language-server/default.nix @@ -1,6 +1,9 @@ { pkgs, ... }: +# TODO(sterni): replace this with upstream haskell-language-server or +# switch to easy-hls-nix as glittershark planned + rec { hls-nix = { ghc }: import ./hls.nix { inherit pkgs ghc; }; - ghc883 = hls-nix { ghc = "ghc883"; }; + ghc884 = hls-nix { ghc = "ghc884"; }; } diff --git a/third_party/haskell-language-server/hls.nix b/third_party/haskell-language-server/hls.nix index 6688271257b9..75041aa17c4a 100644 --- a/third_party/haskell-language-server/hls.nix +++ b/third_party/haskell-language-server/hls.nix @@ -1,5 +1,5 @@ # Pulled from https://github.com/korayal/hls-nix/blob/master/default.nix but -# with the hashes updated for our nixpkgs pin and ghc 8.8.3 +# with the hashes updated for our nixpkgs pin and ghc 8.8.4 { pkgs, ghc }: let hlib = pkgs.haskell.lib; -- cgit 1.4.1