1
1
mirror of https://github.com/coot/free-category.git synced 2024-11-23 09:55:43 +03:00
free-category/nix/nixpkgs.nix
Marcin Szamotulski adbb6c3550
Initial version
2018-11-03 17:52:30 +01:00

35 lines
1.4 KiB
Nix

{}:
with builtins;
let
rev = "722fcbbb80b2142583e9266efe77992f8e32ac4c";
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
config =
{ packageOverrides = super:
let self = super.pkgs;
lib = super.haskell.lib;
overrides = self: super: {
free-algebras = super.callPackage ./free-algebras.nix {};
};
in {
haskell = super.haskell // {
packages = super.haskell.packages // {
ghc861 = super.haskell.packages.ghc861.override { inherit overrides; };
ghc844 = super.haskell.packages.ghc843.override { inherit overrides; };
ghc822 = super.haskell.packages.ghc822.override { inherit overrides; };
ghc802 = super.haskell.packages.ghc802.override {
overrides = self: super: overrides self super // {
ansi-terminal = super.callPackage ./ansi-terminal-0.6.3.1.nix {};
async = super.callPackage ./async-2.1.1.1.nix {};
lifted-async = super.callPackage ./lifted-async-0.9.3.3.nix {};
exceptions = super.callPackage ./exceptions-0.8.3.nix {};
stm = super.callPackage ./stm-2.4.5.1.nix {};
concurrent-output = super.callPackage ./concurrent-output-1.9.2.nix {};
};
};
};
};
};
};
nixpkgs = import (fetchTarball { inherit url; }) { inherit config; };
in nixpkgs