Commit c5de4a5b authored by nicoo's avatar nicoo
Browse files

yaft: Provide terminfo in separate output

parent a4116e92
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ with lib;
      termite
      tmux
      wezterm
      yaft
    ]));

    environment.pathsToLink = [
+8 −0
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@ stdenv.mkDerivation rec {
  version = "0.2.9";
  pname = "yaft";

  outputs = [ "out" "terminfo" ];

  src = fetchFromGitHub {
    owner = "uobikiemukot";
    repo = "yaft";
@@ -15,6 +17,12 @@ stdenv.mkDerivation rec {

  installFlags = [ "PREFIX=$(out)" "MANPREFIX=$(out)/share/man" ];

  postInstall = ''
    mkdir -p $out/nix-support $terminfo/share
    mv $out/share/terminfo $terminfo/share/
    echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
  '';

  meta = {
    homepage = "https://github.com/uobikiemukot/yaft";
    description = "Yet another framebuffer terminal";