Skip to content

Instantly share code, notes, and snippets.

@dredozubov
Created June 3, 2016 13:23
Show Gist options
  • Save dredozubov/0f7b511c98d608ee83d990e79dc8cc8b to your computer and use it in GitHub Desktop.
Save dredozubov/0f7b511c98d608ee83d990e79dc8cc8b to your computer and use it in GitHub Desktop.
{ nixpkgs ? (import <nixpkgs> {}), haskellPackages ? nixpkgs.haskell.packages.lts-5_14 }:
let
common = import ../common/common.nix { inherit haskellPackages; };
...
servant07 = nixpkgs.haskell.packages.ghc7103.servant_0_7;
servant-server07 = nixpkgs.haskell.packages.ghc7103.servant-server_0_7;
customizedPackages = haskellPackages.override {
overrides = self: super: {
servant = nixpkgs.haskell.packages.ghc7103.servant_0_7
{ inherit self; } // { name = "servant"; };
...
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment