st: Provide terminfo in separate output

nicoo a4116e92 91b85376

+6 -1
+1
nixos/modules/config/terminfo.nix
··· 29 rio 30 rxvt-unicode-unwrapped 31 rxvt-unicode-unwrapped-emoji 32 termite 33 tmux 34 wezterm
··· 29 rio 30 rxvt-unicode-unwrapped 31 rxvt-unicode-unwrapped-emoji 32 + st 33 termite 34 tmux 35 wezterm
+5 -1
pkgs/applications/terminal-emulators/st/default.nix
··· 23 hash = "sha256-82NZeZc06ueFvss3QGPwvoM88i+ItPFpzSUbmTJOCOc="; 24 }; 25 26 inherit patches; 27 28 configFile = lib.optionalString (conf != null) ··· 51 ] ++ extraLibs; 52 53 preInstall = '' 54 - export TERMINFO=$out/share/terminfo 55 ''; 56 57 installFlags = [ "PREFIX=$(out)" ];
··· 23 hash = "sha256-82NZeZc06ueFvss3QGPwvoM88i+ItPFpzSUbmTJOCOc="; 24 }; 25 26 + outputs = [ "out" "terminfo" ]; 27 + 28 inherit patches; 29 30 configFile = lib.optionalString (conf != null) ··· 53 ] ++ extraLibs; 54 55 preInstall = '' 56 + export TERMINFO=$terminfo/share/terminfo 57 + mkdir -p $TERMINFO $out/nix-support 58 + echo "$terminfo" >> $out/nix-support/propagated-user-env-packages 59 ''; 60 61 installFlags = [ "PREFIX=$(out)" ];