git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #50 from kayhide/pin-nixpkgs

Pin nixpkgs

commitd22d4584288f4a9919fe044b85de80696e7711c4 authorAndy Arvanitis <andyarvanitis@gmail.com> dateTue 7 Apr 2020, 13:46 (7 years ago) parentc3cd93a332345e
1 file changed+8−2
stack.nix+8−2
stack.nix+8−2
@@ -7,11 +7,17 @@
77# LC_ALL=en_US.iso88591 stack --nix build; see e.g. https://github.com/koalaman/shellcheck/issues/324
88#
99#
10−{ pkgs ? import <nixpkgs> {}, ghc ? pkgs.ghc }:
10+{ pkgs ?
11+ import (builtins.fetchTarball {
12+ name = "nixos-release-19.03";
13+ url = https://github.com/nixos/nixpkgs/archive/34c7eb7545d155cc5b6f499b23a7cb1c96ab4d59.tar.gz;
14+ sha256 = "11z6ajj108fy2q5g8y4higlcaqncrbjm3dnv17pvif6avagw4mcb";
15+ }) {}
16+}:
1117
1218pkgs.haskell.lib.buildStackProject {
1319 name = "default-stack-shell";
14− inherit ghc;
20+ ghc = pkgs.haskell.compiler.ghc864;
1521 buildInputs = with pkgs; [git git-lfs gmp ncurses zlib];
1622 LANG = "en_US.UTF-8";
1723}