Commit Graph

70004 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
40cbc5b172
Merge pull request #157663 from maxhille/android-studio-update 2022-02-01 16:35:15 +01:00
Manuel Bärenz
0553ffc9dc
Merge pull request #157695 from PaulGrandperrin/master
(vscode|vscodium)-fhs: fix missing desktop icon
2022-02-01 16:08:42 +01:00
Sandro
4db6ee991a
Merge pull request #154259 from berbiche/swaynotificationcenter/init-at-2021-12-03 2022-02-01 15:58:26 +01:00
markuskowa
9a12717816
Merge pull request #155159 from sheepforce/pixinsight
pixinsight: init at 1.8.8-12
2022-02-01 15:41:22 +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
Anderson Torres
506db49cfc
Merge pull request #157694 from r-ryantm/auto-update/vnote
vnote: 3.12.0 -> 3.12.888
2022-02-01 11:01:40 -03:00
R. Ryantm
1c06243454 vnote: 3.12.0 -> 3.12.888 2022-02-01 13:13:04 +00:00
Paul Grandperrin
5150255146 (vscode|vscodium)-fhs: fix missing desktop icon 2022-02-01 13:55:42 +01:00
Sandro
aa9ccee767
Merge pull request #157681 from qowoz/gh 2022-02-01 13:31:29 +01:00
Sandro
b40c587627
Merge pull request #157535 from ymatsiuk/ymatsiuk/fix-slack-update 2022-02-01 13:26:54 +01:00
Anderson Torres
4269133f09
Merge pull request #157633 from AndersonTorres/new-misc
Misc modifications:

- dosbox: use desktopItems machinery
- munt: 2.5.0 -> 2.5.3
2022-02-01 09:18:58 -03:00
R. Ryantm
6c568480be wtf: 0.40.0 -> 0.41.0 2022-02-01 12:12:03 +00:00
zowoq
66b95509af gh: 2.4.0 -> 2.5.0
https://github.com/cli/cli/releases/tag/v2.5.0
2022-02-01 22:00:33 +10:00
zowoq
eb294649b9 nerdctl: 0.16.0 -> 0.16.1
https://github.com/containerd/nerdctl/releases/tag/v0.16.1
2022-02-01 19:51:06 +10:00
Max Hille
45b5eaf288
android-studio-stable: 2020.3.1.26 -> 2021.1.1.20 2022-02-01 10:33:13 +01:00
Maximilian Bosch
886845715a
Merge pull request #157615 from Ma27/bump-gitea
gitea: 1.15.10 -> 1.16.0
2022-02-01 09:55:28 +01:00
Bobby Rong
e0d437af8a
Merge pull request #157557 from gordiasdot/patch-2
got: change package platforms to linux
2022-02-01 16:37:48 +08:00
Bobby Rong
71828b9865
Merge pull request #157534 from 06kellyjac/tektoncd-cli
tektoncd-cli: 0.20.0 -> 0.21.0
2022-02-01 16:37:09 +08:00
zowoq
0de459083c stern: update vendorSha256 2022-02-01 17:20:04 +10: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
fb8b5c82bd seaweedfs: update vendorSha256 2022-02-01 17:20:04 +10:00
zowoq
33132bd705 limesctl: update vendorSha256 2022-02-01 15:42:33 +10:00
zowoq
cc94d1d1b3 kube-capacity: update vendorSha256 2022-02-01 15:42:33 +10:00
zowoq
aa3cbc6feb hugo: update vendorSha256 2022-02-01 15:42:33 +10:00
zowoq
ff85b40f48 helmsman: update vendorSha256 2022-02-01 15:42:33 +10:00
gbtb
38f2d719cc tortoisehg: format default.nix with nixpkgs-fmt 2022-02-01 02:43:09 +00:00
gbtb
ac6dbb2d7c tortoisehg: added smoke test for thg 2022-02-01 02:42:41 +00:00
zowoq
7d374e858a ticker: update vendorSha256 2022-02-01 12:39:20 +10:00
zowoq
741460dd3a tanka: update vendorSha256 2022-02-01 12:39:20 +10:00
Luke Granger-Brown
b6aae6aec3
Merge pull request #155636 from pacien/tortoisehg-6.0
tortoisehg: 5.9 -> 6.0
2022-02-01 02:38:58 +00:00
zowoq
d53e83dd7d ratt: update vendorSha256 2022-02-01 12:35:44 +10:00
zowoq
af296b4bb3 photon-rss: update vendorSha256 2022-02-01 12:35:44 +10:00
zowoq
d8dc7f88cc pdfcpu: update vendorSha256 2022-02-01 12:34:38 +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
Anderson Torres
f77378e875
Merge pull request #157593 from AndersonTorres/new-misc
dwl: 0.2.1 -> 0.2.2
2022-01-31 23:11:37 -03:00
AndersonTorres
b0c97c0121 munt: 2.5.0 -> 2.5.3 2022-01-31 22:40:30 -03:00
Nicolas Berbiche
ec3c207178
SwayNotificationCenter: init at 0.3 2022-01-31 20:37:02 -05:00
Maximilian Bosch
830a0d9a9d
gitea: 1.15.10 -> 1.16.0
ChangeLog: https://github.com/go-gitea/gitea/releases/tag/v1.16.0
2022-02-01 01:19:35 +01:00
Robert Scott
bb3bd16315
Merge pull request #157412 from LeSuisse/quassel-0.14.0
quassel: 0.13.1 -> 0.14.0
2022-01-31 23:28:58 +00: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
AndersonTorres
611555aeea dwl: 0.2.1 -> 0.2.2
Now with new wlroots!
2022-01-31 18:51:36 -03:00
sheepforce
41075e2900 pixinsight: init at 1.8.8-12
pixinsight: review cleanup


pixinsight: review cleanup


pixinsight: switch back to working wrapper
2022-01-31 22:33:52 +01:00
Jonathan Ringer
a0688e9280 spectrwm: make build src name independent
(cherry picked from commit 7865091786a037a9545d181e31afa7b4d8fd0be2)
2022-01-31 13:29:29 -08:00