ghc-8.10.3: don't use obsolete stdenv.lib

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Peter Simons 2021-02-05 14:38:13 +01:00
parent 401a3d5989
commit b1d2e3b10f

View file

@ -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";