Re-enable rofimoji.
This commit is contained in:
parent
6452d591a7
commit
f94278e96d
@ -60,6 +60,7 @@ in
|
||||
nix-serve-ng # Serve nix store over http
|
||||
cleanup_temporary_files
|
||||
jq
|
||||
inetutils # For whois
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@ -259,7 +259,7 @@ in
|
||||
imports = [
|
||||
./graphical_session_target.nix
|
||||
./iso.nix
|
||||
# ./rofimoji.nix
|
||||
./rofimoji.nix
|
||||
./lockscreen.nix
|
||||
./screenshot.nix
|
||||
./force_focus.nix
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user