Created
September 3, 2018 20:49
-
-
Save ptitfred/281ade20e0a5441832744efe9ec62912 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# nix-env -i -f ./stack2nix.nix | |
let | |
inherit (import <nixpkgs> {}) fetchFromGitHub; | |
nixpkgs = fetchFromGitHub { | |
owner = "NixOS"; | |
repo = "nixpkgs-channels"; | |
# Last revision of haskell-packages before bump of cabal2nix to 2.11 | |
# and satisfying hpack >=0.29.6 | |
rev = "78e2045f6d747655062ed2ceee595b878e488488"; | |
sha256 = "0v9i8x5kh6x09ngzbzizn9cbf939vbsbw3wsa81ba57y3c1z3zj7"; | |
}; | |
pkgs = import nixpkgs {}; | |
in | |
with pkgs; | |
[ cabal2nix stack2nix haskellPackages.hpack ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment