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
rio
30
rxvt-unicode-unwrapped
31
rxvt-unicode-unwrapped-emoji
0
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
0
0
26
inherit patches;
27
28
configFile = lib.optionalString (conf != null)
···
51
] ++ extraLibs;
52
53
preInstall = ''
54
-
export TERMINFO=$out/share/terminfo
0
0
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)" ];