feat(wrappers): start wrapping configs
thanks to @fdncred for the ls function with nushell
This commit is contained in:
parent
d757d6b432
commit
c4a290ae63
13 changed files with 136 additions and 26 deletions
19
hosts/python/wrappers/foot/default.nix
Normal file
19
hosts/python/wrappers/foot/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
foot,
|
||||
symlinkJoin,
|
||||
makeWrapper,
|
||||
}:
|
||||
symlinkJoin {
|
||||
name = "foot";
|
||||
paths = [
|
||||
foot
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/foot \
|
||||
--add-flags "--config" \
|
||||
--add-flags ${./foot.ini}
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue