Skip to content

Instantly share code, notes, and snippets.

@chris-martin
Last active April 1, 2016 10:16
Show Gist options
  • Save chris-martin/925deff718d3b865b2e4244f358fff31 to your computer and use it in GitHub Desktop.
Save chris-martin/925deff718d3b865b2e4244f358fff31 to your computer and use it in GitHub Desktop.
{ nixpkgs ? import <nixpkgs> {}, compiler ? "lts-5_8" }:
(nixpkgs.pkgs.haskell.packages.${compiler}.override {
overrides = self: super: {
projectB = self.callPackage /path-to-project-B {};
};
}).callPackage ./project-A.nix { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment