diff options
author | Ben Sima <ben@bsima.me> | 2018-08-08 19:10:37 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-08-08 19:10:37 -0700 |
commit | c063d8f776dc21a300f1caf87377e3b86f652a3d (patch) | |
tree | 11eacb47bf3121236b17fc8bc766f588186e379f | |
parent | 65ffe186acb5f32f0bba07b8ce0eecacbda83bbd (diff) |
switch this script to nix
-rwxr-xr-x | rain.bh.hs | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -1,11 +1,7 @@ -#!/usr/bin/env stack -{- stack - --nix - --resolver lts-11.15 - --install-ghc - runghc - --package random --} +#! /usr/bin/env nix-shell +#! nix-shell -p "haskellPackages.ghcWithPackages (pkgs: [pkgs.random])" -i runghc + +{-# OPTIONS_GHC -Wall #-} {-# LANGUAGE TypeSynonymInstances #-} {-# LANGUAGE FlexibleInstances #-} |