mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-01-31 04:58:17 +00:00
22 lines
534 B
Nix
22 lines
534 B
Nix
{ config, lib, pkgs, yourMomName, ... }:
|
|
|
|
{
|
|
wrappers.neofetch = {
|
|
arg0 = lib.getExe' pkgs.neofetch "neofetch";
|
|
executableName = yourMomName;
|
|
appendArgs = [
|
|
"--ascii_distro" "guix"
|
|
"--title_fqdn" "off"
|
|
"--os_arch" "off"
|
|
];
|
|
};
|
|
|
|
build.extraPassthru.tests = {
|
|
actuallyBuilt = let
|
|
wrapper = config.build.toplevel;
|
|
in pkgs.runCommand "wrapper-manager-neofetch-actually-built" { } ''
|
|
[ -x "${wrapper}/bin/${config.wrappers.fastfetch.executableName}" ] && touch $out
|
|
'';
|
|
};
|
|
}
|