From b1d2e3b10ff5a4e1a43f884be07bc1844ac66b4f Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 5 Feb 2021 14:38:13 +0100 Subject: [PATCH] ghc-8.10.3: don't use obsolete stdenv.lib Co-authored-by: Sandro --- pkgs/development/compilers/ghc/8.10.3.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/ghc/8.10.3.nix b/pkgs/development/compilers/ghc/8.10.3.nix index f1b225b12c8..fe160259f2b 100644 --- a/pkgs/development/compilers/ghc/8.10.3.nix +++ b/pkgs/development/compilers/ghc/8.10.3.nix @@ -115,7 +115,7 @@ stdenv.mkDerivation (rec { # upstream patch. Don't forget to check backport status of the upstream patch # when adding new GHC releases in nixpkgs. ./respect-ar-path.patch - ] ++ stdenv.lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.isDarwin [ # Make Block.h compile with c++ compilers. Remove with the next release (fetchpatch { url = "https://gitlab.haskell.org/ghc/ghc/-/commit/97d0b0a367e4c6a52a17c3299439ac7de129da24.patch";