Commit Graph

12992 Commits

Author SHA1 Message Date
Maximilian Bosch
c0bd479d77
zathura: improve overridability; set plugin dir through the environment
The current package setup has two issues:

* You can only access `pkgs.zathura` which is the "final" derivation,
  i.e. a wrapper. This is a problem if you want to apply a patch to
  `zathura(1)` in an overlay. To make this a bit easier, I decided to
  expose `zathuraPkgs` entirely and `zathura` is now
  `zathuraPkgs.zathuraWrapper`.

  With this change, patches can now be added like this:

  ```
  with import ./. {
    overlays = [
      (self: super: {
        zathura = super.zathura.override {
          zathura_core = super.zathuraPkgs.zathura_core.overrideAttrs (_: {
            patches = [
              ~/Projects/zathura/0001-Fix-remote-link-resolution-in-zathura.patch
            ];
          });
        };
      })
    ];
  };
  zathura
  ```

* As soon as you open another window in `zathura` from `zathura` (e.g.
  to follow a PDF-embedded link to another PDF), it currently fails
  because `--plugins-dir=` isn't passed along. This is because `zathura`
  uses `argv[0]`[1] to open another process and the GApps-wrapper inside
  `zathuraPkgs.zathura_core` does a `exec -a "$0"` which isn't the
  `bin/zathura` from the wrapper that appends `--plugins-dir=`:

  ```
  execve("/nix/var/nix/profiles/per-user/ma27/home-manager-140-link/home-path/bin/zathura", ["/nix/var/nix/profiles/per-user/ma27/home-manager-140-link/home-path/bin/zathura", "/home/ma27/Documents/Uni/Studium/Notepad/Aktuell/Index.pdf"], 0x7ffd7a4bf4b0 /* 108 vars */) = 0
  execve("/nix/store/2wjhxbgzcnn0qqdwqy0m01hw39dxwfmk-zathura-0.4.8-bin/bin/zathura", ["/nix/store/2wjhxbgzcnn0qqdwqy0m01hw39dxwfmk-zathura-0.4.8-bin/bin/zathura", "--plugins-dir=/nix/store/wcch63yzwykc9x5393dzjfdxsf80mrb8-zathura-with-plugins-0.4.8/lib/zathura", "/home/ma27/Documents/Uni/Studium/Notepad/Aktuell/Index.pdf"], 0x1442010 /* 107 vars */) = 0
  execve("/nix/store/2wjhxbgzcnn0qqdwqy0m01hw39dxwfmk-zathura-0.4.8-bin/bin/.zathura-wrapped", ["/nix/store/2wjhxbgzcnn0qqdwqy0m01hw39dxwfmk-zathura-0.4.8-bin/bin/zathura", "--plugins-dir=/nix/store/wcch63yzwykc9x5393dzjfdxsf80mrb8-zathura-with-plugins-0.4.8/lib/zathura", "/home/ma27/Documents/Uni/Studium/Notepad/Aktuell/Index.pdf"], 0x81d010 /* 108 vars */) = 0
  ```

  I figured it's way simpler to actually use the environment variable
  `ZATHURA_PLUGINS_PATH` for that purpose as the environment is
  inherited when a new process is started.

[1] 242329b534/zathura/links.c (L205-215)
2022-02-05 19:27:24 +01:00
Martin Weinelt
778d148959
Merge pull request #155061 from piegamesde/gnome 2022-02-01 20:53:10 +01:00
Renaud
291ae149c1
Merge pull request #157378 from LeSuisse/librecad-CVE-2021-45342
librecad: apply patch for CVE-2021-45342
2022-02-01 19:33:07 +01:00
Ryan Mulligan
0628dd529f
Merge pull request #157473 from r-ryantm/auto-update/xdg-launch
xdg-launch: 1.11 -> 1.12
2022-02-01 08:15:03 -08:00
Ryan Mulligan
772541b258
Merge pull request #156521 from r-ryantm/auto-update/inherd-quake
inherd-quake: 0.4.0 -> 0.5.0
2022-02-01 08:13:08 -08:00
Sandro
4db6ee991a
Merge pull request #154259 from berbiche/swaynotificationcenter/init-at-2021-12-03 2022-02-01 15:58:26 +01:00
legendofmiracles
83e3261d42
Merge pull request #157685 from r-ryantm/auto-update/wtf
wtf: 0.40.0 -> 0.41.0
2022-02-01 09:35:10 -05:00
R. Ryantm
6c568480be wtf: 0.40.0 -> 0.41.0 2022-02-01 12:12:03 +00:00
zowoq
503c69b9cd slides: update vendorSha256 2022-02-01 17:20:04 +10:00
zowoq
b14d7dbf1d skate: update vendorSha256 2022-02-01 17:20:04 +10:00
zowoq
33132bd705 limesctl: update vendorSha256 2022-02-01 15:42:33 +10:00
zowoq
aa3cbc6feb hugo: update vendorSha256 2022-02-01 15:42:33 +10:00
zowoq
7d374e858a ticker: update vendorSha256 2022-02-01 12:39:20 +10:00
zowoq
d53e83dd7d ratt: update vendorSha256 2022-02-01 12:35:44 +10:00
zowoq
2390f7b4fa nwg-menu: update vendorSha256 2022-02-01 12:34:38 +10:00
zowoq
71e65d9b27 llama: update vendorSha256 2022-02-01 12:34:38 +10:00
Nicolas Berbiche
ec3c207178
SwayNotificationCenter: init at 0.3 2022-01-31 20:37:02 -05:00
Robert Schütz
9607743161 etesync-dav: 0.30.8 -> 0.32.1
https://github.com/etesync/etesync-dav/blob/v0.32.1/ChangeLog.md
2022-01-31 23:02:53 +00:00
wucke13
d4e1518758
edgetx: init at 2.6.0 (#152091)
Co-authored-by: Wanja Zaeske <wanja.zaeske@dlr.de>
2022-01-31 21:25:59 +01:00
Philipp Woelfel
1f3c6c657d
pdfstudio: added function for creating src url (#156635)
pdfstudio: added function for creating src url
2022-01-31 21:13:37 +01:00
R. Ryantm
a7559619a6 nwg-panel: 0.5.4 -> 0.5.7 2022-01-31 10:04:42 -08:00
R. Ryantm
bc98c62d27 snapmaker-luban: 4.1.3 -> 4.1.4 2022-01-31 09:57:56 -08:00
R. Ryantm
a1a3c3b110 clightd: 5.4 -> 5.5 2022-01-31 09:24:36 -08:00
R. Ryantm
6ac966a5be xmrig: 6.16.2 -> 6.16.3 2022-01-31 09:12:58 -08:00
R. Ryantm
2a87059040 spicetify-cli: 2.8.4 -> 2.8.5 2022-01-31 07:03:24 -08:00
Bobby Rong
588b6dfa7f
Merge pull request #156540 from sei40kr/update-todoist-electron
todoist-electron: 1.0.1 -> 1.0.3
2022-01-31 22:53:40 +08:00
Bobby Rong
7cade6a13b
Merge pull request #156358 from jojosch/dbeaver-update
dbeaver: 21.3.2 -> 21.3.3
2022-01-31 22:31:59 +08:00
Bobby Rong
25a7bc5ad5
Merge pull request #156961 from bobvanderlinden/pr-neo4j-desktop-1.4.12
neo4j-desktop: 1.4.7 -> 1.4.12
2022-01-31 21:30:37 +08:00
Bobby Rong
31d25842a1
Merge pull request #157489 from McSinyx/mepo-0.3
mepo: 0.2 -> 0.3
2022-01-31 19:39:16 +08:00
R. RyanTM
e67d26b0f0
rmapi: 0.0.18 -> 0.0.19 (#157495) 2022-01-31 10:45:35 +00:00
Nguyễn Gia Phong
9811d0d44c
mepo: 0.2 -> 0.3 2022-01-31 14:43:17 +07:00
zowoq
7382672cdc expenses: update vendorSha256 2022-01-31 17:24:26 +10:00
zowoq
e0f8a10cbe charm: update vendorSha256 2022-01-31 13:41:40 +10:00
R. Ryantm
ce45d1e43c xdg-launch: 1.11 -> 1.12 2022-01-31 02:47:26 +00:00
zowoq
1ca665dd6c wtf: update vendorSha256 2022-01-31 11:50:28 +10:00
Robert Scott
6afa07cd8f
Merge pull request #157432 from illdefined/cloak
cloak: 0.2.0 -> 0.3.0
2022-01-30 22:17:47 +00:00
R. Ryantm
42ddf4aea4 urlscan: 0.9.8 -> 0.9.9 2022-01-30 19:10:08 +00:00
Mikael Voss
e9cdc3fb36
cloak: 0.2.0 -> 0.3.0 2022-01-30 19:53:03 +01:00
Guillaume Girol
c7ec7379d8
Merge pull request #157282 from teutat3s/feature/qMasterPassword-fixes
qMasterPassword: 1.2.2 -> git master
2022-01-30 16:03:05 +00:00
Thomas Gerbet
6896348d0f librecad: apply patch for CVE-2021-45342
https://github.com/LibreCAD/LibreCAD/issues/1464
2022-01-30 10:56:31 +01:00
zowoq
e7746dccc1 dasel: update vendorSha256 2022-01-30 16:07:07 +10:00
teutat3s
e1aa7d7609
qMasterPassword: 1.2.2 -> git master 2022-01-30 04:12:37 +01:00
Robert Schütz
151123a54d weather: use python3 2022-01-30 03:05:19 +00:00
Sandro
bcd452a554
Merge pull request #157306 from mdtisdall/_1password_aarch64_fix 2022-01-30 01:11:27 +01:00
Dylan Tisdall
7583e479cb _1password: download arm64 binary for aarch64-linux 2022-01-29 19:37:43 +00:00
piegames
b16e5d212e gksu: drop 2022-01-29 18:09:15 +01:00
piegames
6aa8521224 pdfmod: drop 2022-01-29 18:09:13 +01:00
piegames
fb163439eb yarssr: drop 2022-01-29 18:08:51 +01:00
piegames
a9bbc8be84 fslint: drop
Requires python2 and libglade (both EOL).
Upstream recommends using [czkawka](https://qarmin.github.io/czkawka/) instead.
2022-01-29 18:08:51 +01:00
Bobby Rong
a4b31cd067
Merge pull request #156596 from r-ryantm/auto-update/moonlight-qt
moonlight-qt: 3.1.4 -> 3.2.0
2022-01-29 23:06:12 +08:00