summaryrefslogtreecommitdiffhomepage
path: root/default.nix
diff options
context:
space:
mode:
authorŁukasz Gołębiewski <lukasz.golebiewski@gmail.com>2020-10-06 15:03:59 +0200
committerGitHub <noreply@github.com>2020-10-06 15:03:59 +0200
commit70a7755719061e4b280a07578c6135762095e879 (patch)
treedc55e2fc5dadca62738cc256eddec036589a0a22 /default.nix
parent84ff4e57eb24b5b5ab95ad7b64419846922e00f7 (diff)
downloadstylish-haskell-70a7755719061e4b280a07578c6135762095e879.tar.gz
Add nix shell
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..c870da5
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,10 @@
+{ pkgs ? import ./haskell-pkgs.nix
+, haskellCompiler ? "ghc8101"
+}:
+pkgs.haskell-nix.cabalProject {
+ src = pkgs.haskell-nix.haskellLib.cleanGit {
+ name = "stylish-haskell";
+ src = ./.;
+ };
+ compiler-nix-name = haskellCompiler;
+}