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 656B

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