Commit graph

225267 commits

Author SHA1 Message Date
Jan Tojnar
3f3aeb7c85
maintainers/scripts/update.nix: refactor package collector
The `packagesWith` function expected an attrSet but `packagesWithUpdateScript`
could be passing it a derivation or a list when the attribute path
supplied by user through the `--argstr path` argument pointed to one.
It only worked because derivations are also attrSets and contain their
outputs as attributes, and did not work for lists at all.

Additionally, the improper handling would cause the `src` attribute
to be built in some rare cases (`mkYarnPackage` seems to trigger this).

Rewriting the `packagesWith` function to be inductive with a derivation
as a base case and attrSets and lists as inductive steps is much cleaner
and also fixes the unnecessary build.
2020-05-13 12:12:18 +02:00
Jan Tojnar
fab2ee8c10
maintainers/scripts/update.nix: derivation is the final station
It does not make sense to look for derivations within derivations,
not even when `recurseForDerivations` is true. Nix does not do that either:

ebc024df22/src/libexpr/get-drvs.cc (L346-L355)
2020-05-13 11:06:33 +02:00
Jan Tojnar
8f50956ee0
maintainers/scripts/update.nix: Import lib into scope
This will make it easier to change it if we want to decouple from pkgs.
2020-05-13 11:06:33 +02:00
José Romildo Malaquias
683c68232e
Merge pull request #87448 from romildo/upd.shades-of-gray-theme
shades-of-gray-theme: 1.2.1 -> 1.3.0
2020-05-10 20:41:36 -03:00
José Romildo Malaquias
bb80d26d6d
Merge pull request #87445 from romildo/upd.nordic-polar
nordic-polar: 1.6.0 -> 1.9.0
2020-05-10 20:39:48 -03:00
José Romildo Malaquias
bf093b6b89
Merge pull request #87444 from romildo/upd.nordic
nordic: 1.8.1 -> 1.9.0
2020-05-10 20:39:11 -03:00
Maximilian Bosch
3d941ff633
Merge pull request #87480 from r-ryantm/auto-update/scala
scala: 2.13.1 -> 2.13.2
2020-05-11 01:03:40 +02:00
Maximilian Bosch
d232eb13b5
Merge pull request #87370 from Mic92/radare2
radare2-cutter: 1.10.2 -> 1.10.3
2020-05-11 00:51:17 +02:00
Mario Rodas
a5c51cf498
Merge pull request #87535 from r-ryantm/auto-update/termdown
termdown: 1.16.0 -> 1.17.0
2020-05-10 17:49:58 -05:00
Mario Rodas
830711d302
Merge pull request #87534 from bjornfor/update-fatsort
fatsort: 1.5.0.456 -> 1.6.2.605
2020-05-10 17:43:38 -05:00
Maximilian Bosch
3ecb138770
Merge pull request #87186 from drewmullen/master
fix docs example for foldl
2020-05-11 00:23:15 +02:00
Benjamin Hipple
b03233dbbb
Merge pull request #87529 from romildo/upd.theme-obsidian2
theme-obsidian2: 2.11 -> 2.12
2020-05-10 17:40:24 -04:00
Maximilian Bosch
532f434535
Merge pull request #87537 from doronbehar/update-gotify-server
gotify-server: 2.0.15 -> 2.0.16
2020-05-10 23:38:05 +02:00
Maximilian Bosch
8814a112ac
Merge pull request #87395 from Luflosi/update/kitty
kitty: 0.17.3 -> 0.17.4
2020-05-10 23:26:58 +02:00
Mario Rodas
4cc76bf797
Merge pull request #87536 from r-ryantm/auto-update/ttygif
ttygif: 1.4.0 -> 1.5.0
2020-05-10 16:26:34 -05:00
Mario Rodas
36280307f4
ttygif: enable on darwin 2020-05-10 16:20:00 -05:00
Marek Mahut
3b039f14f2
Merge pull request #86610 from prusnak/sooperlooper
sooperlooper: unstable-2016-07-19 -> unstable-2019-09-30
2020-05-10 23:14:01 +02:00
Marek Mahut
5975bbbe57
Merge pull request #86228 from prusnak/etcher
etcher: 1.5.60 -> 1.5.86
2020-05-10 23:12:19 +02:00
Marek Mahut
15b6987ca8
Merge pull request #84209 from prusnak/freeciv
freeciv: 2.6.0 -> 2.6.2
2020-05-10 23:11:07 +02:00
Doron Behar
f4718f4e6b gotify-server: 2.0.15 -> 2.0.16 2020-05-10 23:12:41 +03:00
R. RyanTM
2a8fb4c39c ttygif: 1.4.0 -> 1.5.0 2020-05-10 19:58:03 +00:00
R. RyanTM
5ce6802a17
termdown: 1.16.0 -> 1.17.0 2020-05-10 19:49:47 +00:00
Ryan Mulligan
df3554a419
Merge pull request #87468 from r-ryantm/auto-update/qtpbfimageplugin
qtpbfimageplugin: 2.1 -> 2.2
2020-05-10 12:46:38 -07:00
ccellado
f889cf482d vips 0.8.2 2020-05-10 21:46:05 +02:00
Ryan Mulligan
84982d1664
Merge pull request #87523 from r-ryantm/auto-update/tixati
tixati: 2.72 -> 2.73
2020-05-10 12:42:46 -07:00
Bjørn Forsman
66f90b84b8 fatsort: 1.5.0.456 -> 1.6.2.605
The patch to set PREFIX needed updating to apply. Rewrite it in a way
that allows submitting upstream. That means we don't hardcode
PREFIX=$out inside the patch but allow the PREFIX to be passed to make
at build time.
2020-05-10 21:40:35 +02:00
Kim Lindberger
7451f11730
google-drive-ocamlfuse: 0.7.2 -> 0.7.21 (#86469)
ocamlPackages.ocamlfuse: 2.7.1_cvs5 -> 2.7.1_cvs6_e35e76b
2020-05-10 21:24:18 +02:00
Michael Raskin
1013153a59
Merge pull request #87525 from r-ryantm/auto-update/virt-viewer
virt-viewer: 8.0 -> 9.0
2020-05-10 19:16:53 +00:00
José Romildo Malaquias
2bb14421ec theme-obsidian2: 2.11 -> 2.12 2020-05-10 16:03:14 -03:00
Florian Klink
7c8d86f041
Merge pull request #87411 from r-ryantm/auto-update/python2.7-twilio
python27Packages.twilio: 6.35.1 -> 6.39.0
2020-05-10 21:01:40 +02:00
Mario Rodas
e1335cec4b
Merge pull request #87520 from mdlayher/mdl-corerad
corerad: 0.2.3 -> 0.2.4
2020-05-10 14:00:06 -05:00
R. RyanTM
01bc332108 python27Packages.ROPGadget: 6.2 -> 6.3 2020-05-10 11:52:58 -07:00
Aaron Andersen
c6cedc0bbc
Merge pull request #87513 from r-ryantm/auto-update/solr
solr: 8.5.0 -> 8.5.1
2020-05-10 14:46:35 -04:00
Florian Klink
3d92964d2a
Merge pull request #87491 from r-ryantm/auto-update/svn-all-fast-export
gitAndTools.svn-all-fast-export: 1.0.17 -> 1.0.18
2020-05-10 20:38:35 +02:00
R. RyanTM
ae649e275c virt-viewer: 8.0 -> 9.0 2020-05-10 18:35:50 +00:00
R. RyanTM
ab3dfc3fb5 tixati: 2.72 -> 2.73 2020-05-10 18:29:10 +00:00
Dominique Martinet
d8fa2627f3 mpd: remove user/group from conf
the options should not be set as we already change user with service
file, man mpd.conf says "Do not use this option if you start MPD as an
unprivileged user"

The group option actually is not documented at all anymore and probably
no longer exists.

These options get in the way of setting up confinement for the service,
as it would otherwise be pretty straightforward to setup, but even if
mpd is not root it would check the user exists within the chroot which
is more work (need to get nss working):

  systemd.services.mpd = {
    serviceConfig.BindPaths = [
      # mpd state dir
      "/var/lib/mpd"
      # notify systemd service started up
      "/run/systemd/notify"
    ];
    serviceConfig.BindReadOnlyPaths = [
      "/path/to/music:/var/lib/mpd/music"
    ];
    # ProtectSystem is not compatible with confinement
    serviceConfig.ProtectSystem = lib.mkForce false;
    confinement = {
      enable = true;
      binSh = null;
      mode = "chroot-only";
    };
  };
2020-05-10 20:24:33 +02:00
pablo1107
7341598420 perlPackages.StringInterpolate: init at 0.32 2020-05-10 20:18:50 +02:00
pablo1107
fc3d6386db maintainers: add pablovsky 2020-05-10 20:18:50 +02:00
Gaelan
4ed7e23636 nixos/device-tree: fix package name in examples
deviceTree_rpi got renamed to device-tree_rpi a while back, so this updates the examples to reflect that.
2020-05-10 20:13:54 +02:00
Matt Layher
3d055b1c68 corerad: 0.2.3 -> 0.2.4 2020-05-10 14:04:11 -04:00
R. RyanTM
99847a4e9d python27Packages.pymupdf: 1.16.16 -> 1.16.18 2020-05-10 19:44:37 +02:00
Dominique Martinet
4c81174f4c
nixos/confinement: add conflict for ProtectSystem service option
Systemd ProtectSystem is incompatible with the chroot we make
for confinement. The options is redundant with what we do anyway
so warn if it had been set and advise to disable it.

Merges: https://github.com/NixOS/nixpkgs/pull/87420
2020-05-10 19:25:41 +02:00
Luke Granger-Brown
5da1393030 deluge: add glib so its hook works.
At the moment, runing `deluge` with the deluge package installed returns
"No GSettings schemas are installed on the system".

After this patch, XDG_DATA_DIRS includes the gsettings-desktop-schemas,
which means the program actually manages to launch.
2020-05-10 19:24:09 +02:00
R. RyanTM
ae4d9cb9a0 stacks: 2.52 -> 2.53 2020-05-10 09:37:29 -07:00
R. RyanTM
8d66945c6e python37Packages.zeroconf: 0.24.5 -> 0.26.0 2020-05-10 09:36:32 -07:00
R. RyanTM
3eb94f3f8c seafile-shared: 7.0.6 -> 7.0.7 2020-05-10 09:35:31 -07:00
R. RyanTM
23bacaa090 remmina: 1.4.1 -> 1.4.3 2020-05-10 09:35:19 -07:00
R. RyanTM
9c15de6ea4 suricata: 5.0.2 -> 5.0.3 2020-05-10 09:35:02 -07:00
Elis Hirwing
e7b5f78031
Merge pull request #87504 from stigtsp/package/oq-fix-build
oq: 1.0.2 -> 1.1.0, fix build
2020-05-10 18:34:35 +02:00