Skip to content

Instantly share code, notes, and snippets.

@avnik
Last active August 29, 2015 14:14
Show Gist options
  • Save avnik/213b8f7adb76321e5303 to your computer and use it in GitHub Desktop.
Save avnik/213b8f7adb76321e5303 to your computer and use it in GitHub Desktop.
pkgs : {
allowUnfree = true;
packageOverrides = pkgs: rec {
gccgo49 = pkgs.wrapGCC (pkgs.gcc49.gcc.override {
name = "gccgo49";
langCC = true;
langC = true;
langGo = true;
});
gccgoEnv = pkgs.myEnvFun {
name = "gccgo";
shell = "${pkgs.zsh}/bin/zsh";
buildInputs = with pkgs; [
gccgo49
valgrind
go_1_3
# These packages specific for my go-gmime development
pkgconfig
glib
gmime
];
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment