summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..830ada3
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,24 @@
+{ pkgs ? import <nixpkgs> { } }:
+let
+ haskellPackages = pkgs.haskellPackages.override {
+ overrides = self: super: {
+ feed-nomath-org = self.callCabal2nix "feed-nomath-org" ./. { };
+ };
+ };
+in
+rec {
+ inherit (haskellPackages) feed-nomath-org;
+ shell = haskellPackages.shellFor {
+ packages = _: [
+ feed-nomath-org
+ haskellPackages.atom-conduit
+ ];
+ buildInputs = [
+ haskellPackages.cabal2nix
+ haskellPackages.cabal-install
+ haskellPackages.ormolu
+ ];
+ withHoogle = true;
+ withHaddock = true;
+ };
+}