This commit is contained in:
parent
6e43e10d1f
commit
eedc21fb8e
6 changed files with 233 additions and 10 deletions
16
backend/nix/stack-integration.nix
Normal file
16
backend/nix/stack-integration.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
let
|
||||
sources = import ./sources.nix;
|
||||
pkgs = import sources.nixpkgs { };
|
||||
in
|
||||
|
||||
# See https://docs.haskellstack.org/en/stable/nix_integration/#using-a-custom-shellnix-file
|
||||
{ ghc }:
|
||||
|
||||
pkgs.haskell.lib.buildStackProject {
|
||||
inherit ghc;
|
||||
name = "haskell-stack-nix";
|
||||
# System dependencies needed at compilation time
|
||||
buildInputs = [
|
||||
pkgs.zlib
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue