mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
xmobar: bring libnotify into scope
This commit is contained in:
parent
33f7ecd792
commit
9837a70014
1 changed files with 7 additions and 1 deletions
|
|
@ -2,13 +2,17 @@
|
||||||
home.packages = let
|
home.packages = let
|
||||||
inherit (pkgs) lib;
|
inherit (pkgs) lib;
|
||||||
|
|
||||||
|
ghc = pkgs.haskellPackages.ghc.withPackages (haskellPackages: [
|
||||||
|
haskellPackages.xmobar
|
||||||
|
]);
|
||||||
|
|
||||||
wrapped-xmobar = pkgs.symlinkJoin {
|
wrapped-xmobar = pkgs.symlinkJoin {
|
||||||
name = "xmobar";
|
name = "xmobar";
|
||||||
paths = [pkgs.xmobar];
|
paths = [pkgs.xmobar];
|
||||||
buildInputs = [pkgs.makeWrapper];
|
buildInputs = [pkgs.makeWrapper];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/xmobar \
|
wrapProgram $out/bin/xmobar \
|
||||||
--prefix PATH : "${lib.makeBinPath [pkgs.ghc]}"
|
--prefix PATH : "${lib.makeBinPath [ghc pkgs.libnotify]}"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in [
|
in [
|
||||||
|
|
@ -19,6 +23,8 @@
|
||||||
"xmobar" = {
|
"xmobar" = {
|
||||||
# Xmobar uses the directory to compile too,
|
# Xmobar uses the directory to compile too,
|
||||||
# Linking the entire folder directly would make the directory not writable
|
# Linking the entire folder directly would make the directory not writable
|
||||||
|
#
|
||||||
|
# We need to clean up the xmobar executable so it recompiles
|
||||||
recursive = true;
|
recursive = true;
|
||||||
source = "${./xmobar}";
|
source = "${./xmobar}";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue