diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-02-16 23:59:42 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-02-16 23:59:42 -0300 |
commit | 9d07a91aebe96b9b9df5c71d059fa72f65cfc766 (patch) | |
tree | 49336270523ef94afcc6045855df7fa2f87dcfa6 /pkgs/applications/misc | |
parent | 18d06230cedf1471ef086220203d5a1ca08c542a (diff) |
yambar: mesonFeatureFlag with descriptive argument names
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/yambar/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/misc/yambar/default.nix b/pkgs/applications/misc/yambar/default.nix index 3b915cae5ffa6..88b5046d17973 100644 --- a/pkgs/applications/misc/yambar/default.nix +++ b/pkgs/applications/misc/yambar/default.nix @@ -27,7 +27,8 @@ let # Courtesy of sternenseemann and FRidh - mesonFeatureFlag = opt: b: "-D${opt}=${if b then "enabled" else "disabled"}"; + mesonFeatureFlag = feature: flag: + "-D${feature}=${if flag then "enabled" else "disabled"}"; in stdenv.mkDerivation rec { pname = "yambar"; @@ -38,7 +39,7 @@ stdenv.mkDerivation rec { owner = "dnkl"; repo = "yambar"; rev = version; - sha256 = "0d8n9hvmxj7759pfqssqcl9wvb986qsph8bnjsjm9bf97mflhy6d"; + hash = "sha256-zXhIXT3JrVSllnYheDU2KK3NE2VYa+xuKufIXjdMFjU="; }; nativeBuildInputs = [ |