2024-07-31 13:51:40 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
yourMomName,
|
|
|
|
...
|
|
|
|
}:
|
2024-07-27 12:17:48 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
wrappers.neofetch = {
|
|
|
|
arg0 = lib.getExe' pkgs.neofetch "neofetch";
|
|
|
|
executableName = yourMomName;
|
|
|
|
appendArgs = [
|
2024-07-31 13:51:40 +00:00
|
|
|
"--ascii_distro"
|
|
|
|
"guix"
|
|
|
|
"--title_fqdn"
|
|
|
|
"off"
|
|
|
|
"--os_arch"
|
|
|
|
"off"
|
2024-07-27 12:17:48 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-09-21 11:32:08 +00:00
|
|
|
build.extraPassthru.wrapperManagerTests = {
|
2024-07-31 13:51:40 +00:00
|
|
|
actuallyBuilt =
|
|
|
|
let
|
|
|
|
wrapper = config.build.toplevel;
|
|
|
|
in
|
|
|
|
pkgs.runCommand "wrapper-manager-neofetch-actually-built" { } ''
|
2024-09-21 02:14:54 +00:00
|
|
|
[ -x "${wrapper}/bin/${config.wrappers.neofetch.executableName}" ] && touch $out
|
2024-07-31 13:51:40 +00:00
|
|
|
'';
|
2024-07-27 12:17:48 +00:00
|
|
|
};
|
|
|
|
}
|