diff --git a/pkgs/misc/base16/default.nix b/pkgs/misc/base16/default.nix index a864dd47cab..5dad210ab54 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 '';