Skip to content

Instantly share code, notes, and snippets.

@codedmart
Last active November 22, 2015 15:15
Show Gist options
  • Select an option

  • Save codedmart/71c8133c3697507035d0 to your computer and use it in GitHub Desktop.

Select an option

Save codedmart/71c8133c3697507035d0 to your computer and use it in GitHub Desktop.
{ pkgs }:
let
vimrc = import ./vim/vimrc.nix {};
vimPlugins = import ./vim/vimPlugins.nix { inherit pkgs; };
in
with pkgs; rec {
allowBroken = true;
allowUnfree = true;
build-use-chroot = true;
vim = {
gui = "macvim";
};
haskellPackageOverrides = with pkgs.haskell.lib; self: super: {
purescript_0_7_6_1 = dontCheck super.purescript_0_7_6_1;
};
packageOverrides = pkgs : rec {
haskell = pkgs.haskell // {
ghc763 = pkgs.haskell.packages.ghc763.override {
overrides = self: pkgs: {
mkDerivation = args: pkgs.mkDerivation (args // { doHaddock = false; });
};
};
};
};
# ... rest of config
};
}
error: syntax error, unexpected ';', expecting $end, at /Users/bmartin/.nixpkgs/config.nix:154:4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment