base16: use patch for neovim terminal mode
This commit is contained in:
parent
cac460f6c4
commit
3c8bd93f23
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, fetchurl, ruby, which }:
|
{ stdenv, fetchgit, fetchurl, ruby, which, coreutils }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
rev = "9b24598c08a27780f87c318e6145c1468b9880ba";
|
rev = "9b24598c08a27780f87c318e6145c1468b9880ba";
|
||||||
@ -31,11 +31,17 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://github.com/chriskempson/base16-builder/pull/318.patch";
|
url = "https://github.com/chriskempson/base16-builder/pull/318.patch";
|
||||||
sha256 = "0c044bimdbiw2n2nzzivzrvxhwk6i93lc4ydah56xhs6pp1x0i60";
|
sha256 = "0c044bimdbiw2n2nzzivzrvxhwk6i93lc4ydah56xhs6pp1x0i60";
|
||||||
})
|
})
|
||||||
|
(fetchurl {
|
||||||
|
url = "https://github.com/chriskempson/base16-builder/pull/346.patch";
|
||||||
|
sha256 = "145wblgqz28wq9lvgh1i705y97zblc6d488j7xm230ywy81abbwi";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ ruby which ];
|
buildInputs = [ ruby which ];
|
||||||
|
|
||||||
buildPhase = ''
|
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
|
patchShebangs base16
|
||||||
./base16
|
./base16
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user