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
158
Issues
158
List
Board
Labels
Milestones
Merge Requests
11
Merge Requests
11
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
f5af4e33
Commit
f5af4e33
authored
Mar 02, 2020
by
Justin Woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pin nixpkgs and prepare shell.nix
parent
7d909e60
Pipeline
#757
failed with stage
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
build-shell.nix
build-shell.nix
+1
-1
pinned.nix
pinned.nix
+6
-0
shell.nix
shell.nix
+15
-0
No files found.
build-shell.nix
View file @
f5af4e33
{
ghc
}:
with
(
import
<
nixpkgs
>
{});
with
(
import
./pinned.nix
{});
haskell
.
lib
.
buildStackProject
{
inherit
ghc
;
...
...
pinned.nix
0 → 100644
View file @
f5af4e33
import
(
builtins
.
fetchTarball
{
url
=
"https://github.com/nixos/nixpkgs/archive/ece829033b7b8f4e81261fef5427144df4147bc4.tar.gz"
;
sha256
=
"07n91k3d9i9pym8npsszha9mnvg4d1r0l0ldnhk4g8sx15vv1br5"
;
}
)
default
.nix
→
shell
.nix
View file @
f5af4e33
with
(
import
<
nixpkgs
>
{});
stdenv
.
mkDerivation
rec
{
name
=
"env"
;
env
=
buildEnv
{
name
=
name
;
paths
=
buildInputs
;
};
buildInputs
=
[
{
pkgs
?
import
./pinned.nix
{}
}:
pkgs
.
mkShell
{
buildInputs
=
with
pkgs
;
[
docker-compose
#glibc
#gmp
...
...
@@ -16,8 +12,4 @@ stdenv.mkDerivation rec {
#stack
#xz
];
builder
=
builtins
.
toFile
"builder.sh"
''
source $stdenv/setup
touch $out
''
;
}
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