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
|
||||
inherit (pkgs) lib;
|
||||
|
||||
ghc = pkgs.haskellPackages.ghc.withPackages (haskellPackages: [
|
||||
haskellPackages.xmobar
|
||||
]);
|
||||
|
||||
wrapped-xmobar = pkgs.symlinkJoin {
|
||||
name = "xmobar";
|
||||
paths = [pkgs.xmobar];
|
||||
buildInputs = [pkgs.makeWrapper];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/xmobar \
|
||||
--prefix PATH : "${lib.makeBinPath [pkgs.ghc]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ghc pkgs.libnotify]}"
|
||||
'';
|
||||
};
|
||||
in [
|
||||
|
|
@ -19,6 +23,8 @@
|
|||
"xmobar" = {
|
||||
# Xmobar uses the directory to compile too,
|
||||
# Linking the entire folder directly would make the directory not writable
|
||||
#
|
||||
# We need to clean up the xmobar executable so it recompiles
|
||||
recursive = true;
|
||||
source = "${./xmobar}";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue