summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrain.bh.hs12
1 files changed, 4 insertions, 8 deletions
diff --git a/rain.bh.hs b/rain.bh.hs
index 0133c2b..f7267f8 100755
--- a/rain.bh.hs
+++ b/rain.bh.hs
@@ -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 #-}