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
3a317664
Commit
3a317664
authored
Oct 15, 2024
by
Julien Moutinho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repro(nix): drop workaround for Darwin, now merged in Nixpkgs
parent
9df5360c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
flake.nix
flake.nix
+0
-24
No files found.
flake.nix
View file @
3a317664
...
...
@@ -314,34 +314,10 @@
];
shellHook
=
let
# Workaround https://gitlab.haskell.org/ghc/ghc/-/issues/23138#note_567034
# Pending fix upstream https://github.com/NixOS/nixpkgs/pull/317224
libcxx-workaround
=
pkgs
.
symlinkJoin
{
name
=
"libcxx-workaround"
;
paths
=
[
pkgs
.
libcxx
];
postBuild
=
''
ln -s libc++
${
pkgs
.
stdenv
.
hostPlatform
.
extensions
.
sharedLibrary
}
$out/lib/c++
ln -s libc++
${
pkgs
.
stdenv
.
hostPlatform
.
extensions
.
sharedLibrary
}
$out/lib/clang++
''
;
};
in
''
export GARGANTEXT_CORENLP_SERVER="nix -L run .#coreNLP"
cp -f
${
pkgs
.
buildPackages
.
writeText
"cabal.project.local"
''
package accelerate
cc-options: -B
${
libcxx-workaround
}
/lib
cxx-options: -B
${
libcxx-workaround
}
/lib
package crawlerHAL
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
package llvm-hs
cc-options: -B
${
libcxx-workaround
}
/lib
cxx-options: -B
${
libcxx-workaround
}
/lib
-- Same fix as in haskell.nix's packages.haskell-igraph.components.library,
-- but for cabal-install
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