2024-08-01 04:07:34 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
basePackages = pkgs.fastfetch;
|
|
|
|
|
|
|
|
wrappers.fastfetch-guix = {
|
|
|
|
arg0 = lib.getExe' pkgs.fastfetch "fastfetch";
|
|
|
|
appendArgs = [
|
|
|
|
"--logo"
|
|
|
|
"Guix"
|
|
|
|
];
|
|
|
|
env.NO_COLOR.value = "1";
|
|
|
|
xdg.desktopEntry.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-09-21 11:32:08 +00:00
|
|
|
build.extraPassthru.wrapperManagerTests = {
|
2024-08-01 04:07:34 +00:00
|
|
|
singleBasePackage =
|
|
|
|
let
|
|
|
|
wrapper = config.build.toplevel;
|
|
|
|
in
|
|
|
|
pkgs.runCommand "wrapper-manager-fastfetch-actually-built" { } ''
|
|
|
|
[ -e "${wrapper}/share/applications/fastfetch-guix.desktop" ] && [ -x "${wrapper}/bin/${config.wrappers.fastfetch-guix.executableName}" ] && touch $out
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|