-
-
Save matthew-piziak/c42a6b334b2c38e6396b2105c6b8037b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgSource = "https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.09.tar.gz"; | |
pkgTarball = fetchTarball pkgSource; | |
pkgs = import pkgTarball { }; | |
ghc = pkgs.haskell.compiler.ghc865; | |
in pkgs.haskell.lib.buildStackProject { | |
inherit ghc; | |
name = "myEnv"; | |
buildInputs = with pkgs; [ zlib postgresql autoreconfHook libsodium.out libsodium.dev ]; | |
shellHook = '' | |
stack install | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment