alqueva/hosts/python/wrappers/foot/default.nix
Artur Manuel c4a290ae63 feat(wrappers): start wrapping configs
thanks to @fdncred for the ls function with nushell
2025-01-31 21:38:32 +00:00

19 lines
265 B
Nix

{
foot,
symlinkJoin,
makeWrapper,
}:
symlinkJoin {
name = "foot";
paths = [
foot
];
nativeBuildInputs = [
makeWrapper
];
postBuild = ''
wrapProgram $out/bin/foot \
--add-flags "--config" \
--add-flags ${./foot.ini}
'';
}