Skip to content

Instantly share code, notes, and snippets.

@baloo
Created February 6, 2021 00:12
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/2d8ee2f25b8ae2b9b94a30b134ac4b03 to your computer and use it in GitHub Desktop.
Save baloo/2d8ee2f25b8ae2b9b94a30b134ac4b03 to your computer and use it in GitHub Desktop.
{ waybar
, mutate
, fetchFromGitHub
, asserts
}:
{
package = waybar.overrideAttrs(old: {
# https://github.com/Alexays/Waybar/issues/1019#issuecomment-774253327
mesonFlags = old.mesonFlags ++ ["--buildtype" "debug" "-Db_lundef=false" "-Db_sanitize=address"];
# Bring current master
assert asserts.assertMsg (old.version == "0.9.5") "Should nixpkgs update, just follow";
version = "0.9.5.71f9ed3";
src = fetchFromGitHub {
owner = "Alexays";
repo = "Waybar";
rev = "71f9ed3099e515786dd6a8e496a68e5fc307d43a";
sha256 = "sha256-VjCmp1jqMemmroY/g2IP84BkobUumlFxmzRZzH6HtvY=";
};
});
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