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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Julien Moutinho
haskell-gargantext
Commits
bab85a28
Commit
bab85a28
authored
May 28, 2024
by
Julien Moutinho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: workaround
https://gitlab.haskell.org/ghc/ghc/-/issues/23138#note_567034
parent
5e430314
Pipeline
#6160
failed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
29 deletions
+44
-29
flake.nix
flake.nix
+44
-29
No files found.
flake.nix
View file @
bab85a28
...
@@ -301,10 +301,25 @@
...
@@ -301,10 +301,25 @@
pkgs
.
haskell
.
packages
.
${
config
.
compiler-nix-name
}
.
hlint
pkgs
.
haskell
.
packages
.
${
config
.
compiler-nix-name
}
.
hlint
];
];
shellHook
=
''
shellHook
=
let
# Workaround https://gitlab.haskell.org/ghc/ghc/-/issues/23138#note_567034
libcxx-workaround
=
pkgs
.
symlinkJoin
{
name
=
"libcxx-workaround"
;
paths
=
[
pkgs
.
libcxx
];
postBuild
=
"ln -s libc++.so $out/lib/c++"
;
};
in
''
export GARGANTEXT_CORENLP_SERVER="nix -L run .#coreNLP"
export GARGANTEXT_CORENLP_SERVER="nix -L run .#coreNLP"
cp -f
${
pkgs
.
buildPackages
.
writeText
"cabal.project.local"
''
cp -f
${
pkgs
.
buildPackages
.
writeText
"cabal.project.local"
''
package accelerate
cc-options: -B
${
libcxx-workaround
}
/lib
cxx-options: -B
${
libcxx-workaround
}
/lib
package double-conversion
cc-options: -B
${
libcxx-workaround
}
/lib
cxx-options: -B
${
libcxx-workaround
}
/lib
-- Same fix as in haskell.nix's packages.haskell-igraph.components.library,
-- Same fix as in haskell.nix's packages.haskell-igraph.components.library,
-- but for cabal-install
-- but for cabal-install
package haskell-igraph
package haskell-igraph
...
...
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