Commit f5af4e33 authored by Justin Woo's avatar Justin Woo

pin nixpkgs and prepare shell.nix

parent 7d909e60
{ghc}: {ghc}:
with (import <nixpkgs> {}); with (import ./pinned.nix {});
haskell.lib.buildStackProject { haskell.lib.buildStackProject {
inherit ghc; inherit ghc;
......
import (
builtins.fetchTarball {
url = "https://github.com/nixos/nixpkgs/archive/ece829033b7b8f4e81261fef5427144df4147bc4.tar.gz";
sha256 = "07n91k3d9i9pym8npsszha9mnvg4d1r0l0ldnhk4g8sx15vv1br5";
}
)
with (import <nixpkgs> {}); { pkgs ? import ./pinned.nix {} }:
stdenv.mkDerivation rec {
name = "env"; pkgs.mkShell {
env = buildEnv { buildInputs = with pkgs; [
name = name;
paths = buildInputs;
};
buildInputs = [
docker-compose docker-compose
#glibc #glibc
#gmp #gmp
...@@ -16,8 +12,4 @@ stdenv.mkDerivation rec { ...@@ -16,8 +12,4 @@ stdenv.mkDerivation rec {
#stack #stack
#xz #xz
]; ];
builder = builtins.toFile "builder.sh" ''
source $stdenv/setup
touch $out
'';
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment