From 34c67488c6ebdc19daf7699d424e8257619aa96d Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Mon, 26 Feb 2024 14:08:10 +0100 Subject: init --- default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 default.nix (limited to 'default.nix') 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 { } }: +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; + }; +} -- cgit v1.2.3