tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
st: Provide terminfo in separate output
nicoo
2 years ago
a4116e92
91b85376
+6
-1
2 changed files
expand all
collapse all
unified
split
nixos
modules
config
terminfo.nix
pkgs
applications
terminal-emulators
st
default.nix
+1
nixos/modules/config/terminfo.nix
···
29
29
rio
30
30
rxvt-unicode-unwrapped
31
31
rxvt-unicode-unwrapped-emoji
32
32
+
st
32
33
termite
33
34
tmux
34
35
wezterm
+5
-1
pkgs/applications/terminal-emulators/st/default.nix
···
23
23
hash = "sha256-82NZeZc06ueFvss3QGPwvoM88i+ItPFpzSUbmTJOCOc=";
24
24
};
25
25
26
26
+
outputs = [ "out" "terminfo" ];
27
27
+
26
28
inherit patches;
27
29
28
30
configFile = lib.optionalString (conf != null)
···
51
53
] ++ extraLibs;
52
54
53
55
preInstall = ''
54
54
-
export TERMINFO=$out/share/terminfo
56
56
+
export TERMINFO=$terminfo/share/terminfo
57
57
+
mkdir -p $TERMINFO $out/nix-support
58
58
+
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
55
59
'';
56
60
57
61
installFlags = [ "PREFIX=$(out)" ];