Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
154
Issues
154
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
0d442496
Commit
0d442496
authored
1 year ago
by
Alfredo Di Napoli
Committed by
Alfredo Di Napoli
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pinned-23.11 but keep LLVM downgraded
parent
6623b461
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
pkgs.nix
nix/pkgs.nix
+12
-13
No files found.
nix/pkgs.nix
View file @
0d442496
{
pkgs
?
import
./pinned-23.
05
.nix
{}
}:
{
pkgs
?
import
./pinned-23.
11
.nix
{}
}:
rec
{
inherit
pkgs
;
ghc947
=
pkgs
.
callPackage
./overlays/ghc947.nix
{
stdenv
=
pkgs
.
gccStdenv
;
bootPkgs
=
pkgs
.
haskell
.
packages
.
ghc8107
;
inherit
(
pkgs
.
buildPackages
.
python3Packages
)
sphinx
;
# Need to use apple's patched xattr until
# https://github.com/xattr/xattr/issues/44 and
# https://github.com/xattr/xattr/issues/55 are solved.
inherit
(
pkgs
.
buildPackages
.
darwin
)
xattr
autoSignDarwinBinariesHook
;
buildTargetLlvmPackages
=
pkgs
.
pkgsBuildTarget
.
llvmPackages_12
;
llvmPackages
=
pkgs
.
llvmPackages_12
;
targetCC
=
pkgs
.
clang12Stdenv
.
cc
;
};
ghc947
=
if
pkgs
.
stdenv
.
isDarwin
then
pkgs
.
haskell
.
compiler
.
ghc947
.
overrideAttrs
(
finalAttrs
:
previousAttrs
:
{
patches
=
previousAttrs
.
patches
++
[
# Reverts the linking behavior of GHC to not resolve `-libc++` to `c++`.
(
pkgs
.
fetchpatch
{
url
=
"https://gist.githubusercontent.com/adinapoli/bf722db15f72763bf79dff13a3104b6f/raw/362da0aa3db5c530e0d276183ba68569f216d65a/ghc947-macOS-loadArchive-fix.patch"
;
sha256
=
"sha256-0tHrkWRKFWUewj3uIA0DujVCXo1qgX2lA5p0MIsAHYs="
;
})
];
})
else
pkgs
.
haskell
.
compiler
.
ghc947
;
cabal_install_3_10_1_0
=
pkgs
.
haskell
.
lib
.
compose
.
justStaticExecutables
pkgs
.
haskell
.
packages
.
ghc947
.
cabal-install
;
graphviz
=
pkgs
.
graphviz
.
overrideAttrs
(
finalAttrs
:
previousAttrs
:
{
# Increase the YY_BUF_SIZE, see https://gitlab.iscpif.fr/gargantext/haskell-gargantext/issues/290#note_9015
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment