diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-02-26 14:08:10 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-02-26 14:08:10 +0100 |
commit | 34c67488c6ebdc19daf7699d424e8257619aa96d (patch) | |
tree | b52e3a38774be185291b5a360194676211f88e34 /default.nix |
init
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 24 |
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; + }; +} |