base16: use patch for neovim terminal mode

This commit is contained in:
Rok Garbas 2016-05-17 01:46:13 +02:00
parent cac460f6c4
commit 3c8bd93f23

View File

@ -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
'';