Re-enable rofimoji.

This commit is contained in:
Tom Alexander 2025-12-09 12:16:39 -05:00
parent 6452d591a7
commit f94278e96d
Signed by: talexander
GPG Key ID: 36C99E8B3C39D85F
3 changed files with 14 additions and 9 deletions

View File

@ -60,6 +60,7 @@ in
nix-serve-ng # Serve nix store over http
cleanup_temporary_files
jq
inetutils # For whois
];
};
}

View File

@ -259,7 +259,7 @@ in
imports = [
./graphical_session_target.nix
./iso.nix
# ./rofimoji.nix
./rofimoji.nix
./lockscreen.nix
./screenshot.nix
./force_focus.nix

View File

@ -38,14 +38,18 @@ in
nixpkgs.overlays = [
(final: prev: {
rofimoji = prev.rofimoji.overrideAttrs (old: {
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.tofi ];
src = builtins.fetchGit {
# https://github.com/fdw/rofimoji/issues/209
url = "https://github.com/fdw/rofimoji.git";
rev = "615f00abeb984f3e648ef712164aa4e61f2e1808";
};
});
rofimoji = pkgs.symlinkJoin {
name = prev.rofimoji.name;
paths = [ prev.rofimoji ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/rofimoji --prefix PATH : ${
lib.makeBinPath [
final.tofi
]
}
'';
};
})
(final: prev: {
tofi = pkgs.symlinkJoin {