Skip to content

Instantly share code, notes, and snippets.

@techtangents
Created February 21, 2018 06:53
Show Gist options
  • Save techtangents/30be568b9379d94042d6edf01934e651 to your computer and use it in GitHub Desktop.
Save techtangents/30be568b9379d94042d6edf01934e651 to your computer and use it in GitHub Desktop.
let
nixpkgs = import ./nixpin.nix { };
compiler = "default";
inherit (nixpkgs) pkgs;
sources = {
text1 = pkgs.fetchFromGitHub {
owner = "qfpl";
repo = "text1";
rev = "1b383775f706f2a0d38b793a34c9eb5fea2e77d1";
sha256 = "01h44a9hkb5ki8b4yds8q5qbjy6mypjhfkgvrhwhxjq541wfx6lw"; # this sha is wrong
fetchSubmodules = true;
};
};
modifiedHaskellPackages = pkgs.haskellPackages.override {
overrides = self: super: {
xml-conduit-decode = pkgs.haskell.lib.dontCheck super.xml-conduit-decode;
text1 = pkgs.haskellPackages.callPackage "${sources.text1}/text1.nix" { };
};
};
brazil = modifiedHaskellPackages.callPackage ./brazil.nix { };
in
brazil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment