tA's crappy blog
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rf.nix 703B

123456789101112131415161718192021222324
  1. let
  2. rev = "0d576d7eb875b83ada78dca788981cccf2e4d883";
  3. np = builtins.fetchTarball {
  4. url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz";
  5. sha256 = "178j5kp89is5a6vkbj83g0yr4ykgibp1lwhybvgp7sfw9rk9fy5d";
  6. };
  7. config = {
  8. allowBroken = true;
  9. overlays = [];
  10. packageOverrides = pkgs: rec {
  11. haskellPackages = pkgs.haskellPackages.override {
  12. overrides = haskellPackagesNew: haskellPackagesOld: rec {
  13. rf =
  14. haskellPackagesNew.callPackage ./cabal.nix { };
  15. };
  16. };
  17. };
  18. };
  19. pkgs = import np { inherit config; };
  20. in
  21. rec {
  22. inherit pkgs;
  23. rf = pkgs.haskellPackages.rf;
  24. }