mirror of
https://github.com/tweag/distributed-closure.git
synced 2024-11-25 08:19:05 +03:00
Add a Nix shell file and instruct Stack to use shell provided GHC
This commit is contained in:
parent
996fe7c235
commit
5619c8a7c4
1
nixpkgs.nix
Normal file
1
nixpkgs.nix
Normal file
@ -0,0 +1 @@
|
||||
import (fetchTarball "https://github.com/nixos/nixpkgs/archive/b41e2cf0c47e82fb851bc21e97551fc46186747b.tar.gz")
|
11
shell.nix
Normal file
11
shell.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{pkgs ? import ./nixpkgs.nix {}}:
|
||||
|
||||
with pkgs;
|
||||
|
||||
mkShell {
|
||||
LANG="C.UTF-8";
|
||||
buildInputs = [
|
||||
ghc
|
||||
stack
|
||||
];
|
||||
}
|
@ -1,3 +1,7 @@
|
||||
resolver: lts-14.19
|
||||
packages:
|
||||
- '.'
|
||||
|
||||
system-ghc: true
|
||||
nix:
|
||||
enable: false
|
||||
|
Loading…
Reference in New Issue
Block a user