From cb6ccb6a7e9c3a3a61f36897d0c8f7d29d6bed81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 1 Oct 2018 11:43:30 +0100 Subject: [PATCH 1/2] alacritty: 2018-08-30 -> 0.2.0 Based on popular demand I decided to upgraded alacritty from my own fork. We currently also have a version in staging that works without but we cannot easily backport this one because it relies on some changes in the rust build infrastructure --- pkgs/applications/misc/alacritty/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/alacritty/default.nix b/pkgs/applications/misc/alacritty/default.nix index 4544ed1fba3b..ce312e7cea63 100644 --- a/pkgs/applications/misc/alacritty/default.nix +++ b/pkgs/applications/misc/alacritty/default.nix @@ -51,14 +51,14 @@ let ]; in buildRustPackage rec { name = "alacritty-unstable-${version}"; - version = "2018-08-30"; + version = "0.2.0"; # At the moment we cannot handle git dependencies in buildRustPackage. # This fork only replaces rust-fontconfig/libfontconfig with a git submodules. src = fetchgit { url = https://github.com/Mic92/alacritty.git; rev = "rev-${version}"; - sha256 = "0izvg7dwwb763jc6gnmn47i5zrkxvmh3vssn6vzrrmqhd4j3msmf"; + sha256 = "1c9izflacm693rwkxwakxgnpkvxwc8mqasr5p7x0ys6xg91h9sxn"; fetchSubmodules = true; }; From 350c79f9838246b1cd26c513e010640bac5e220a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 1 Oct 2018 11:59:58 +0100 Subject: [PATCH 2/2] alacritty: restrict platforms to x86_64-{linux,darwin} --- pkgs/applications/misc/alacritty/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/misc/alacritty/default.nix b/pkgs/applications/misc/alacritty/default.nix index ce312e7cea63..34b96a0093b6 100644 --- a/pkgs/applications/misc/alacritty/default.nix +++ b/pkgs/applications/misc/alacritty/default.nix @@ -119,5 +119,6 @@ in buildRustPackage rec { homepage = https://github.com/jwilm/alacritty; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ mic92 ]; + platforms = [ "x86_64-linux" "x86-64-darwin" ]; }; }