Created
February 6, 2021 00:19
-
-
Save baloo/c745bf37c89b6f9efda8a4dbc4affcb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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