Skip to content

Instantly share code, notes, and snippets.

@baloo
Created February 6, 2021 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baloo/c745bf37c89b6f9efda8a4dbc4affcb1 to your computer and use it in GitHub Desktop.
Save baloo/c745bf37c89b6f9efda8a4dbc4affcb1 to your computer and use it in GitHub Desktop.
cat packages/waybar/default.nix
{ waybar
, mutate
, fetchFromGitHub
}:
{
package = waybar
.overrideAttrs(old:
assert old.version == "0.9.5"; { # Should nixpkgs update, just follow"
# Bring current master
version = "0.9.5.71f9ed3";
src = fetchFromGitHub {
owner = "Alexays";
repo = "Waybar";
rev = "71f9ed3099e515786dd6a8e496a68e5fc307d43a";
sha256 = "sha256-VjCmp1jqMemmroY/g2IP84BkobUumlFxmzRZzH6HtvY=";
};
}).overrideAttrs(old:
# https://github.com/Alexays/Waybar/issues/1019#issuecomment-774253327
mesonFlags = old.mesonFlags ++ ["--buildtype" "debug" "-Db_lundef=false" "-Db_sanitize=address"];
});
config = mutate ./waybar_conf.json {
};
style = mutate ./waybar_style.css {
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment