Commit 0d442496 authored by Alfredo Di Napoli's avatar Alfredo Di Napoli Committed by Alfredo Di Napoli

Use pinned-23.11 but keep LLVM downgraded

parent 6623b461
{ pkgs ? import ./pinned-23.05.nix {} }: { pkgs ? import ./pinned-23.11.nix {} }:
rec { rec {
inherit pkgs; inherit pkgs;
ghc947 = pkgs.callPackage ./overlays/ghc947.nix { ghc947 = if pkgs.stdenv.isDarwin
stdenv = pkgs.gccStdenv; then pkgs.haskell.compiler.ghc947.overrideAttrs (finalAttrs: previousAttrs: {
bootPkgs = pkgs.haskell.packages.ghc8107; patches = previousAttrs.patches ++ [
inherit (pkgs.buildPackages.python3Packages) sphinx; # Reverts the linking behavior of GHC to not resolve `-libc++` to `c++`.
# Need to use apple's patched xattr until (pkgs.fetchpatch {
# https://github.com/xattr/xattr/issues/44 and url = "https://gist.githubusercontent.com/adinapoli/bf722db15f72763bf79dff13a3104b6f/raw/362da0aa3db5c530e0d276183ba68569f216d65a/ghc947-macOS-loadArchive-fix.patch";
# https://github.com/xattr/xattr/issues/55 are solved. sha256 = "sha256-0tHrkWRKFWUewj3uIA0DujVCXo1qgX2lA5p0MIsAHYs=";
inherit (pkgs.buildPackages.darwin) xattr autoSignDarwinBinariesHook; })
buildTargetLlvmPackages = pkgs.pkgsBuildTarget.llvmPackages_12; ];
llvmPackages = pkgs.llvmPackages_12; })
targetCC = pkgs.clang12Stdenv.cc; else pkgs.haskell.compiler.ghc947;
};
cabal_install_3_10_1_0 = pkgs.haskell.lib.compose.justStaticExecutables pkgs.haskell.packages.ghc947.cabal-install; cabal_install_3_10_1_0 = pkgs.haskell.lib.compose.justStaticExecutables pkgs.haskell.packages.ghc947.cabal-install;
graphviz = pkgs.graphviz.overrideAttrs (finalAttrs: previousAttrs: { graphviz = pkgs.graphviz.overrideAttrs (finalAttrs: previousAttrs: {
# Increase the YY_BUF_SIZE, see https://gitlab.iscpif.fr/gargantext/haskell-gargantext/issues/290#note_9015 # Increase the YY_BUF_SIZE, see https://gitlab.iscpif.fr/gargantext/haskell-gargantext/issues/290#note_9015
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment