dotfiles.nix/pkgs/tokyonight-kak.nix

19 lines
316 B
Nix

{ stdenv, tokyonight-kak-src, ... }:
let
colorsPath = "share/kak/colors";
in
stdenv.mkDerivation rec {
name = "tokyonight";
src = tokyonight-kak-src;
installPhase = ''
runHook preInstall
target=$out/${colorsPath}
mkdir -p $target
cp -r colors/*.kak $target
runHook postInstall
'';
}