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
191
Issues
191
List
Board
Labels
Milestones
Merge Requests
8
Merge Requests
8
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
f149767f
Verified
Commit
f149767f
authored
Jul 01, 2025
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flake] this can be run and built now
However, develop still doesn't work well
parent
e3e6bda7
Pipeline
#7715
failed with stages
in 15 minutes and 29 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
26 deletions
+30
-26
cabal.project
cabal.project
+5
-1
flake.lock
flake.lock
+4
-3
flake.nix
flake.nix
+17
-18
gargantext.cabal
gargantext.cabal
+4
-4
No files found.
cabal.project
View file @
f149767f
...
...
@@ -151,7 +151,9 @@ source-repository-package
source
-
repository
-
package
type
:
git
location
:
https
://
github
.
com
/
fpringle
/
servant
-
routes
.
git
tag
:
16509
b30012b7585ab776df31d70ef384050dbdc
tag
:
20
d17c16b543a846e8f592c3a19ba8d5ad4f5d23
--
tag
:
16509
b30012b7585ab776df31d70ef384050dbdc
--
subdir
:
servant
-
routes
/
source
-
repository
-
package
type
:
git
...
...
@@ -171,6 +173,8 @@ source-repository-package
location
:
https
://
gitlab
.
iscpif
.
fr
/
gargantext
/
haskell
-
throttle
.
git
tag
:
e0d9a8b32afde9652dd99e99df611a8c2a88f2e9
constraints
:
llvm
-
hs
<
0
allow
-
newer
:
MissingH
:
base
,
*:
base
,
*:
bytestring
...
...
flake.lock
View file @
f149767f
...
...
@@ -1127,15 +1127,16 @@
"servant-routes": {
"flake": false,
"locked": {
"lastModified": 17
1481525
4,
"narHash": "sha256-
B9Ok0gwagyOUlCiz6gO1NtTwIx6oxqqDJC+TUx7xNco
=",
"lastModified": 17
4836704
4,
"narHash": "sha256-
TwsGvPW35oT0eCDKXdCYYHlEvZartrGd1kZI9T3kc30
=",
"owner": "fpringle",
"repo": "servant-routes",
"rev": "
16509b30012b7585ab776df31d70ef384050dbdc
",
"rev": "
20d17c16b543a846e8f592c3a19ba8d5ad4f5d23
",
"type": "github"
},
"original": {
"owner": "fpringle",
"ref": "v0.1.1.0",
"repo": "servant-routes",
"type": "github"
}
...
...
flake.nix
View file @
f149767f
...
...
@@ -9,7 +9,7 @@
# nix build .#gargantext:lib:gargantext
# nix build .#gargantext:exe:gargantext
# For any input, one can:
# Update to the latest commit:
# nix flake lock --update-input nixpkgs
...
...
@@ -88,8 +88,7 @@
patches-class
=
{
url
=
"git+https://gitlab.iscpif.fr/gargantext/patches-class.git"
;
flake
=
false
;
};
patches-map
=
{
url
=
"github:delanoe/patches-map"
;
flake
=
false
;
};
rdf4h
=
{
url
=
"github:robstewart57/rdf4h"
;
flake
=
false
;
};
# WARNING: using the more-exports branch
servant-routes
=
{
url
=
"github:fpringle/servant-routes"
;
flake
=
false
;
};
servant-routes
=
{
url
=
"github:fpringle/servant-routes?ref=v0.1.1.0"
;
flake
=
false
;
};
servant-xml-conduit
=
{
url
=
"git+https://gitlab.iscpif.fr/gargantext/servant-xml-conduit"
;
flake
=
false
;
};
# WARNING: using the alp/static branch
sparse-linear
=
{
url
=
"github:alpmestan/sparse-linear/alp/static"
;
flake
=
false
;
};
...
...
@@ -288,9 +287,9 @@
packages
.
nanomsg-haskell
.
components
.
library
=
{
libs
=
[
(
pkgs
.
nng
.
overrideAttrs
(
old
:
{
cmakeFlags
=
(
old
.
cmakeFlags
or
[])
++
[
"-DNNG_ENABLE_TLS=OFF"
];
})
)
(
pkgs
.
nng
.
overrideAttrs
(
old
:
{
cmakeFlags
=
(
old
.
cmakeFlags
or
[
])
++
[
"-DNNG_ENABLE_TLS=OFF"
];
}))
];
};
...
...
@@ -543,18 +542,18 @@
};
# For garg-test-hspec
coreNLP
=
pkgs
.
callPackage
./nix/corenlp.nix
{};
# # Avoid recompiling openjdk due to any overlay used in the common pkgs.
# let pkgs = import inputs.nixpkgs { inherit system; }; in
# inputs.flake-utils.lib.mkApp {
# drv = pkgs.writeShellApplication {
# name = "coreNLP";
# text = ''
# set -x
# exec ${pkgs.openjdk}/bin/java -mx4g -cp '${inputs.coreNLP}/*' edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 15000
# '';
# };
# };
coreNLP
=
pkgs
.
callPackage
./nix/corenlp.nix
{
};
# # Avoid recompiling openjdk due to any overlay used in the common pkgs.
# let pkgs = import inputs.nixpkgs { inherit system; }; in
# inputs.flake-utils.lib.mkApp {
# drv = pkgs.writeShellApplication {
# name = "coreNLP";
# text = ''
# set -x
# exec ${pkgs.openjdk}/bin/java -mx4g -cp '${inputs.coreNLP}/*' edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 15000
# '';
# };
# };
};
# For running all checks (very slow):
...
...
gargantext.cabal
View file @
f149767f
...
...
@@ -616,7 +616,7 @@ library
, servant-conduit >= 0.15 && < 0.17
, servant-ekg ^>= 0.3.1
, servant-openapi3 >= 2.0.1.6
, servant-routes
< 0.2
, servant-routes
, servant-server >= 0.18.3 && < 0.21
, servant-swagger ^>= 1.2
, servant-swagger-ui ^>= 0.3.5.3.5.0
...
...
@@ -710,7 +710,7 @@ executable gargantext
, servant >= 0.20.1 && < 0.21
, servant-auth
, servant-client-core >= 0.20 && < 0.21
, servant-routes
< 0.2
, servant-routes
, servant-websockets >= 2.0.0 && < 2.1
, shelly
, split >= 0.2.3.4
...
...
@@ -930,8 +930,8 @@ benchmark garg-bench
Paths_gargantext
build-depends: base
, accelerate
, accelerate-llvm-native
, hmatrix
--
, accelerate-llvm-native
--
, hmatrix
, massiv
, deepseq
, gargantext
...
...
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