nixos-configs/scopedPackages/dracula/bat.nix

17 lines
221 B
Nix
Raw Normal View History

{
bat-theme-src,
2024-06-13 22:27:54 -04:00
mkVersion,
stdenv,
...
}:
stdenv.mkDerivation {
pname = "dracula-bat";
2024-06-13 22:27:54 -04:00
version = mkVersion bat-theme-src;
src = bat-theme-src;
installPhase = ''
cat ./Dracula.tmTheme > $out
'';
}