1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

pantheon.wingpanel-applications-menu: 2.5.0 -> 2.6.0

https://github.com/elementary/applications-menu/releases/tag/2.6.0
This commit is contained in:
worldofpeace 2020-04-10 12:26:32 -04:00
parent e7d592edb6
commit dd805599a9
2 changed files with 2 additions and 26 deletions

View file

@ -1,24 +0,0 @@
diff --git a/lib/synapse-plugins/calculator-plugin.vala b/lib/synapse-plugins/calculator-plugin.vala
index 1b5fa06..076c0c7 100644
--- a/lib/synapse-plugins/calculator-plugin.vala
+++ b/lib/synapse-plugins/calculator-plugin.vala
@@ -51,9 +51,7 @@ namespace Synapse {
_("Calculator"),
_("Calculate basic expressions."),
"accessories-calculator",
- register_plugin,
- Environment.find_program_in_path ("bc") != null,
- _("bc is not installed"));
+ register_plugin);
}
static construct {
@@ -90,7 +88,7 @@ namespace Synapse {
if (matched) {
Pid pid;
int read_fd, write_fd;
- string[] argv = {"bc", "-l"};
+ string[] argv = {"@exec@", "-l"};
string? solution = null;
try {

View file

@ -26,7 +26,7 @@
stdenv.mkDerivation rec {
pname = "wingpanel-applications-menu";
version = "2.5.0";
version = "2.6.0";
repoName = "applications-menu";
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "1zry9xvcljsn5fnl8qs21x7q8rpwv0sxvp2dmnx3ddqnvj4q2m7d";
sha256 = "16ki1x6697jmfqajynx2zvwqrpjpshnd08y7vf6g7xc7zwwh38c5";
};
passthru = {