From 3c8bd93f238e61b321ca425586d0c8f92ea48d23 Mon Sep 17 00:00:00 2001 From: Rok Garbas Date: Tue, 17 May 2016 01:46:13 +0200 Subject: [PATCH] base16: use patch for neovim terminal mode --- pkgs/misc/base16/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/misc/base16/default.nix b/pkgs/misc/base16/default.nix index a864dd47cab5..5dad210ab54b 100644 --- a/pkgs/misc/base16/default.nix +++ b/pkgs/misc/base16/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, fetchurl, ruby, which }: +{ stdenv, fetchgit, fetchurl, ruby, which, coreutils }: stdenv.mkDerivation rec { rev = "9b24598c08a27780f87c318e6145c1468b9880ba"; @@ -31,11 +31,17 @@ stdenv.mkDerivation rec { url = "https://github.com/chriskempson/base16-builder/pull/318.patch"; sha256 = "0c044bimdbiw2n2nzzivzrvxhwk6i93lc4ydah56xhs6pp1x0i60"; }) + (fetchurl { + url = "https://github.com/chriskempson/base16-builder/pull/346.patch"; + sha256 = "145wblgqz28wq9lvgh1i705y97zblc6d488j7xm230ywy81abbwi"; + }) ]; buildInputs = [ ruby which ]; buildPhase = '' + sed -i -e "s|\/bin\/false|${coreutils}/bin/false|" templates/shell/dark.sh.erb + sed -i -e "s|\/bin\/false|${coreutils}/bin/false|" templates/shell/light.sh.erb patchShebangs base16 ./base16 '';