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 nix-serve-ng # Serve nix store over http
cleanup_temporary_files cleanup_temporary_files
jq jq
inetutils # For whois
]; ];
}; };
} }

View File

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

View File

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