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
Grégoire Locqueville
haskell-gargantext
Commits
c558d10e
Commit
c558d10e
authored
Jun 27, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Nix shell install
parent
88449643
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
install
bin/install
+7
-1
shell.nix
shell.nix
+2
-0
No files found.
bin/install
View file @
c558d10e
...
...
@@ -2,10 +2,16 @@
#stack install --nix --profile --test --fast --no-install-ghc --skip-ghc-check
# Another solution to build
# nix-shell
# stack build
# If you have a linker issue:
# stack build --extra-lib-dirs=/nix/store/r3x96j3kmcs8dv4l02rrjmbhm535jycy-icu4c-72.1/lib
if
[[
$1
==
"dev"
]]
;
then
echo
"DEV install"
env
LANG
=
C.UTF-8 stack
install
--nix
--no-install-ghc
--skip-ghc-check
--no-haddock-deps
env
LANG
=
en_US.UTF-8
LC_ALL
=
en_US.UTF-8 stack
--nix
install
--no-install-ghc
--skip-ghc-check
--no-haddock-deps
else
echo
"PROD install (with documentation)"
env
LANG
=
C.UTF-8 stack
install
--haddock
--nix
--test
--no-install-ghc
--skip-ghc-check
--no-haddock-deps
...
...
shell.nix
View file @
c558d10e
...
...
@@ -8,6 +8,8 @@ let
in
pkgs
.
pkgs
.
mkShell
{
name
=
pkgs
.
shell
.
name
;
# LOCALE_ARCHIVE = "${pkgs.pkgs.glibcLocales}/lib/locale/locale-archive";
home
.
sessionVariables
.
LOCALE_ARCHIVE
=
"
${
pkgs
.
glibcLocales
}
/lib/locale/locale-archive"
;
shellHook
=
pkgs
.
shell
.
shellHook
;
buildInputs
=
pkgs
.
shell
.
buildInputs
++
myBuildInputs
;
}
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