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
Christian Merten
haskell-gargantext
Commits
6623b461
Commit
6623b461
authored
Jan 09, 2024
by
Alfredo Di Napoli
Committed by
Alfredo Di Napoli
Jan 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Duckling via text16-compat
parent
cc174d0b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
10 deletions
+17
-10
cabal.project
cabal.project
+6
-1
ghc947.nix
nix/overlays/ghc947.nix
+2
-2
pkgs.nix
nix/pkgs.nix
+6
-6
stack.yaml
stack.yaml
+3
-1
No files found.
cabal.project
View file @
6623b461
...
@@ -173,7 +173,12 @@ source-repository-package
...
@@ -173,7 +173,12 @@ source-repository-package
source
-
repository
-
package
source
-
repository
-
package
type
:
git
type
:
git
location
:
https
://
github
.
com
/
adinapoli
/
duckling
.
git
location
:
https
://
github
.
com
/
adinapoli
/
duckling
.
git
tag
:
d84d64d79cbdd2efb874cbb1bc804ac013e848e2
tag
:
23603
a832117e5352d5b0fb9bb1110228324b35a
source
-
repository
-
package
type
:
git
location
:
https
://
github
.
com
/
adinapoli
/
text16
-
compat
.
git
tag
:
85533
b5d597e6fc5498411b4bcfc76380ec80d71
allow
-
older
:
*
allow
-
older
:
*
allow
-
newer
:
*
allow
-
newer
:
*
...
...
nix/overlays/ghc947.nix
View file @
6623b461
...
@@ -207,8 +207,8 @@ stdenv.mkDerivation (rec {
...
@@ -207,8 +207,8 @@ stdenv.mkDerivation (rec {
]
++
(
if
stdenv
.
isDarwin
]
++
(
if
stdenv
.
isDarwin
then
[
# Reverts the linking behavior of GHC to not resolve `-libc++` to `c++`.
then
[
# Reverts the linking behavior of GHC to not resolve `-libc++` to `c++`.
(
fetchpatch
{
(
fetchpatch
{
url
=
"https://gist.githubusercontent.com/adinapoli/bf722db15f72763bf79dff13a3104b6f/raw/
21e4fe65e71e721aece563b0c39be6ba1ace5b28
/ghc947-macOS-loadArchive-fix.patch"
;
url
=
"https://gist.githubusercontent.com/adinapoli/bf722db15f72763bf79dff13a3104b6f/raw/
362da0aa3db5c530e0d276183ba68569f216d65a
/ghc947-macOS-loadArchive-fix.patch"
;
sha256
=
"sha256-0
rWN6nGIVlB65QBGX3PaHPQFCitGGC8wTJg8kPJu5KQ
="
;
sha256
=
"sha256-0
tHrkWRKFWUewj3uIA0DujVCXo1qgX2lA5p0MIsAHYs
="
;
})
})
]
]
else
[]);
else
[]);
...
...
nix/pkgs.nix
View file @
6623b461
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
rec
{
rec
{
inherit
pkgs
;
inherit
pkgs
;
ghc947
=
pkgs
.
callPackage
./overlays/ghc947.nix
{
ghc947
=
pkgs
.
callPackage
./overlays/ghc947.nix
{
stdenv
=
pkgs
.
clang12
Stdenv
;
stdenv
=
pkgs
.
gcc
Stdenv
;
bootPkgs
=
pkgs
.
haskell
.
packages
.
ghc8107
;
bootPkgs
=
pkgs
.
haskell
.
packages
.
ghc8107
;
inherit
(
pkgs
.
buildPackages
.
python3Packages
)
sphinx
;
inherit
(
pkgs
.
buildPackages
.
python3Packages
)
sphinx
;
# Need to use apple's patched xattr until
# Need to use apple's patched xattr until
...
@@ -110,7 +110,7 @@ rec {
...
@@ -110,7 +110,7 @@ rec {
graphviz
graphviz
clang_12
clang_12
llvm_12
llvm_12
gcc
7
gcc
12
igraph_0_10_4
igraph_0_10_4
libpqxx
libpqxx
libsodium
libsodium
...
@@ -121,11 +121,11 @@ rec {
...
@@ -121,11 +121,11 @@ rec {
shellHook
=
''
shellHook
=
''
export LD_LIBRARY_PATH="
${
pkgs
.
gfortran7
.
cc
.
lib
}
:
${
libPaths
}
:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="
${
pkgs
.
gfortran7
.
cc
.
lib
}
:
${
libPaths
}
:$LD_LIBRARY_PATH"
export LIBRARY_PATH="
${
pkgs
.
gfortran7
.
cc
.
lib
}
:
${
libPaths
}
"
export LIBRARY_PATH="
${
pkgs
.
gfortran7
.
cc
.
lib
}
:
${
libPaths
}
"
export PATH="
${
pkgs
.
clang_12
}
/bin:$PATH"
export PATH="
${
pkgs
.
gccStdenv
}
/bin:$PATH"
export NIX_CC="
${
pkgs
.
clang_12
}
"
export NIX_CC="
${
pkgs
.
gccStdenv
}
"
export CC="
${
pkgs
.
clang_12
}
/bin/clang
"
export CC="
${
pkgs
.
gccStdenv
}
/bin/gcc
"
''
;
''
;
shell
=
pkgs
.
mkShell
.
override
{
stdenv
=
pkgs
.
clang12
Stdenv
;
}
{
shell
=
pkgs
.
mkShell
.
override
{
stdenv
=
pkgs
.
gcc
Stdenv
;
}
{
name
=
"gargantext-shell"
;
name
=
"gargantext-shell"
;
buildInputs
=
hsBuildInputs
++
nonhsBuildInputs
;
buildInputs
=
hsBuildInputs
++
nonhsBuildInputs
;
inherit
shellHook
;
inherit
shellHook
;
...
...
stack.yaml
View file @
6623b461
...
@@ -110,7 +110,9 @@ extra-deps:
...
@@ -110,7 +110,9 @@ extra-deps:
commit
:
91928b5d7f9342e9865dde0d94862792d2b88779
commit
:
91928b5d7f9342e9865dde0d94862792d2b88779
# Temporary fork of duckling
# Temporary fork of duckling
-
git
:
https://github.com/adinapoli/duckling.git
-
git
:
https://github.com/adinapoli/duckling.git
commit
:
d84d64d79cbdd2efb874cbb1bc804ac013e848e2
commit
:
23603a832117e5352d5b0fb9bb1110228324b35a
-
git
:
https://github.com/adinapoli/text16-compat.git
commit
:
85533b5d597e6fc5498411b4bcfc76380ec80d71
# Others dependencies (using stack resolver)
# Others dependencies (using stack resolver)
-
HSvm-0.1.1.3.22
-
HSvm-0.1.1.3.22
-
KMP-0.2.0.0@sha256:6dfbac03ef00ebd9347234732cb86a40f62ab5a80c0cc6bedb8eb51766f7df28,2562
-
KMP-0.2.0.0@sha256:6dfbac03ef00ebd9347234732cb86a40f62ab5a80c0cc6bedb8eb51766f7df28,2562
...
...
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