Skip to content

Instantly share code, notes, and snippets.

@infinisil
Created September 20, 2017 23:43
Show Gist options
  • Save infinisil/30d65e6afdd5491796abe9a98d0476aa to your computer and use it in GitHub Desktop.
Save infinisil/30d65e6afdd5491796abe9a98d0476aa to your computer and use it in GitHub Desktop.
let
# nixpkgs-unstable 2017-09-21
nixpkgs = (import <nixpkgs> {}).fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "b5a5d0ba8427f7a5070475bb4fe08a4239ee82c6";
sha256 = "0p7hkjb4jlvnb9pslpkp2qhy1mnq42ajv2dzc23yiixsb6pwm4bi";
};
pkgs = import nixpkgs {
overlays = [ (self: super: {
rustRegistry = super.rustRegistry.overrideDerivation (old: {
name = "rustRegistry-2017-09-21";
src = super.fetchFromGitHub {
owner = "rust-lang";
repo = "crates.io-index";
rev = "14f4bf3b213265d27d1cba7821218aaff8df6f44";
sha256 = "15cmdxnn158yiy9jmmg3psv7rgw5gabx7cphfvbyhynh7y3f8b8v";
};
});
})];
};
in
# https://github.com/jwilm/alacritty/pull/657
pkgs.alacritty.overrideAttrs (old: {
src = pkgs.fetchFromGitHub {
owner = "neon64";
repo = "alacritty";
rev = "d742fb7a9e1a3bc616040682f85418853919d04f";
sha256 = "02rjz0dmp438yg6f5masdima83mph65vmfk4bhji2k1dcg5chjpj";
};
depsSha256 = "0";
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment