dotfiles.nix/pkgs/tokyonight-kak.nix

19 lines
316 B
Nix
Raw Normal View History

2022-07-21 04:38:26 +00:00
{ 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
'';
}