Skip to content

Instantly share code, notes, and snippets.

@chris-martin
Created June 23, 2018 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-martin/9088a2931236cf819378f385d0523283 to your computer and use it in GitHub Desktop.
Save chris-martin/9088a2931236cf819378f385d0523283 to your computer and use it in GitHub Desktop.
{ pkgs, ... }:
let
src = pkgs.fetchFromGitHub {
owner = "cachix";
repo = "cachix";
# Jun 23, 2018
rev = "6a65632a4b51488b5355377e5c292a6a01efee2e";
sha256 = "13l12xkqpx6l7pfqwysz6yrgpjk6ydj6w7c85h74mzz4fvzihxyl";
};
in
{
environment.systemPackages = [
(pkgs.callPackage src {})
];
nix.binaryCaches = [
"https://cachix.cachix.org"
];
nix.binaryCachePublicKeys = [
"cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM="
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment