repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bandwhich: 0.23.0 -> 0.23.1; move to by-name; nixfmt; useFetchCargoVendor (#356934)
[NixPkgs.git]
/
pkgs
/
applications
/
terminal-emulators
/
termite
/
wrapper.nix
blob
ff4d329e52f3db2f9259538d589c8db74de2ef91
1
{
2
makeWrapper,
3
symlinkJoin,
4
configFile ? null,
5
termite,
6
}:
7
8
if configFile == null then
9
termite
10
else
11
symlinkJoin {
12
name = "termite-with-config-${termite.version}";
13
14
paths = [ termite ];
15
nativeBuildInputs = [ makeWrapper ];
16
17
postBuild = ''
18
wrapProgram $out/bin/termite \
19
--add-flags "--config ${configFile}"
20
'';
21
22
passthru.terminfo = termite.terminfo;
23
}