217697 Commits

Author SHA1 Message Date
Maximilian Bosch
702f645aa8
nixos/nextcloud: implement a safe upgrade-path between 19.09 and 20.03
It's impossible to move two major-versions forward when upgrading
Nextcloud. This is an issue when comming from 19.09 (using Nextcloud 16)
and trying to upgrade to 20.03 (using Nextcloud 18 by default).

This patch implements the measurements discussed in #82056 and #82353 to
improve the update process and to circumvent similar issues in the
future:

* `pkgs.nextcloud` has been removed in favor of versioned attributes
  (currently `pkgs.nextcloud17` and `pkgs.nextcloud18`). With that
  approach we can safely backport major-releases in the future to
  simplify those upgrade-paths and we can select one of the
  major-releases as default depending on the configuration (helpful to
  decide whether e.g. `pkgs.nextcloud17` or `pkgs.nextcloud18` should be
  used on 20.03 and `master` atm).

* If `system.stateVersion` is older than `20.03`, `nextcloud17` will be
  used (which is one major-release behind v16 from 19.09). When using a
  package older than the latest major-release available (currently v18),
  the evaluation will cause a warning which describes the issue and
  suggests next steps.

  To make those package-selections easier, a new option to define the
  package to be used for the service (namely
  `services.nextcloud.package`) was introduced.

* If `pkgs.nextcloud` exists (e.g. due to an overlay which was used to
  provide more recent Nextcloud versions on older NixOS-releases), an
  evaluation error will be thrown by default: this is to make sure that
  `services.nextcloud.package` doesn't use an older version by accident
  after checking the state-version. If `pkgs.nextcloud` is added
  manually, it needs to be declared explicitly in
  `services.nextcloud.package`.

* The `nixos/nextcloud`-documentation contains a
  "Maintainer information"-chapter  which describes how to roll out new
  Nextcloud releases and how to deal with old (and probably unsafe)
  versions.

Closes #82056
2020-03-25 22:07:29 +01:00
Peter Simons
2f9a9064bc
Merge pull request #82849 from NixOS/haskell-updates
Update Haskell package set to LTS 15.4 (plus other fixes)
2020-03-20 21:16:40 +01:00
Peter Simons
1b2b88671e haskell-fast-logger: fix the build with ghc-8.4.x 2020-03-20 21:12:16 +01:00
Peter Simons
3f0bc2e7c2 haskell-weeder: build with latest generic-lens 2020-03-20 21:12:16 +01:00
Samuel Evans-Powell
57874b620e prometheus: no need to jailbreak
- prometheus no longer needs to be jailbroken, removing 'doJailbreak'.
  Jailbreaking was added in
  https://github.com/NixOS/nixpkgs/pull/70956 to overcome issue
  https://github.com/bitnomial/prometheus/issues/34.
- This issue has since been fixed and so jailbreaking is no longer
  necessary.
2020-03-20 21:12:15 +01:00
Peter Simons
7ac3b76a9d hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.1 from Hackage revision
c8058db7cd.
2020-03-20 21:12:05 +01:00
Peter Simons
effc9fa337 hackage2nix: update list of broken packages
Ping @cdepillabout because purescript is broken.
Ping @kiwi because matterhorn is broken.
Ping @roberth because arion-compose is broken.
Ping @psibi because persistent-postgresql is broken.
2020-03-20 21:11:55 +01:00
Samuel Evans-Powell
049816b538 Remove "ekg-core" and "ekg-prometheus-adapter" from broken pkgs
- "ekg-core" and "ekg-prometheus-adapter" are no longer broken.
  Removed them from broken packages list.
2020-03-20 21:11:29 +01:00
Samuel Evans-Powell
11bc4ee748 tasty-tap: fix failing build
- tasty-tap's tests were failing. In
  https://github.com/NixOS/nixpkgs/pull/71017 a patch generated from a
  PR was applied to fix this.
- That PR has now been merged into tasty-tap and was released with
  version 0.1.0.
- tasty-tap is now at version 0.1.0 in nixpkgs and so the patch fails
  to apply, breaking the build.
- Removed the patch and removed tasty-tap from list of broken
  packages.
2020-03-20 21:11:29 +01:00
Peter Simons
bf42ec0297 LTS Haskell 15.4 2020-03-20 21:11:29 +01:00
Robert Kreuzer
920fdc012a Mark icepeak and sqlite-simple as non-broken 2020-03-20 21:07:56 +01:00
Robert Kreuzer
9b931dc86a icepeak: use haskell.lib.justStaticExecutables
Also, add myself to the maintainers section for Haskell modules coming
from Hackage.
2020-03-20 21:07:56 +01:00
Robert Kreuzer
8aee4f4eeb icepeak: init at 0.7.2 2020-03-20 21:07:56 +01:00
Robert Kreuzer
8c4479e3dd maintainers: add rkrzr 2020-03-20 21:07:56 +01:00
Jared Tobin
6d071e7459 haskoin-core: remove from broken packages list
e1408eb661 unbreaks secp256k1-haskell, which was the cause of this
package's failure to build.
2020-03-20 21:07:56 +01:00
Jared Tobin
899629ba48 secp256k1-haskell: unbreak via override
This library simply needs libsecp256k1 in its pkgconfig-depends.
2020-03-20 21:07:56 +01:00
Ryan Mulligan
0b08c636f2
Merge pull request #82997 from r-ryantm/auto-update/sonarr
sonarr: 2.0.0.5338 -> 2.0.0.5344
2020-03-20 11:51:18 -07:00
Matthew Bauer
078b222dc6
Merge pull request #83010 from volth/patch-393
$toplevel/system: use kernel's architecture
2020-03-20 14:05:00 -04:00
Timo Kaufmann
4738b1f89f
Merge pull request #83006 from timokau/vim-plugins-2020-03-20
vimPlugins: update
2020-03-20 17:10:53 +00:00
Andreas Rammhold
4e8d0993a9
Merge pull request #82404 from danieldk/build-script-link-fix
buildRustCrate: only link build deps into build script
2020-03-20 17:56:21 +01:00
volth
4d57e56b71
$toplevel/system: use kernel's architecture
`$toplevel/system` of a system closure with `x86_64` kernel and `i686` userland should contain "x86_64-linux".

If `$toplevel/system` contains "i686-linux", the closure will be run using `qemu-system-i386`, which is able to run `x86_64` kernel on most Intel CPU, but fails on AMD.

So this fix is for a rare case of `x86_64` kernel + `i686` userland + AMD CPU
2020-03-20 16:55:44 +00:00
Timo Kaufmann
1711025a3d vimPlugins: update
The vim-pandoc patch is now outdated and has been replaced by a better
workaround upstream:

https://github.com/vim-pandoc/vim-pandoc/pull/363
2020-03-20 17:44:25 +01:00
Milan
d1303f10e9
Merge pull request #70983 from jerith666/jdk-13
openjdk: 12.0.2 -> 13.0.2
2020-03-20 16:57:14 +01:00
Marek Mahut
feff5202d2
Merge pull request #82406 from mmahut/quorum
quorum: init at 2.5.0
2020-03-20 16:22:50 +01:00
R. RyanTM
d99e5e0a37 sonarr: 2.0.0.5338 -> 2.0.0.5344 2020-03-20 14:06:19 +00:00
Maximilian Bosch
78104ad2da
neomutt: 20200313 -> 20200320
https://github.com/neomutt/neomutt/releases/tag/20200320
2020-03-20 15:01:38 +01:00
Eelco Dolstra
a0a61c3e34 nixos-option: Disable on Nix >= 2.4 because it doesn't compile
This is needed when using the overlay from the Nix flake.
2020-03-20 14:52:22 +01:00
Matt McHenry
254e3eaf5c jetbrains-jdk: derive expression for 11.0.6 from openjdk11 rather than openjdk12 2020-03-20 08:21:52 -04:00
Matt McHenry
6ebf2d6b1b Merge remote-tracking branch 'channels/nixos-unstable' into jdk-13 2020-03-20 08:21:44 -04:00
Mario Rodas
ecce3a7bc9
Merge pull request #82864 from r-ryantm/auto-update/EventStore
eventstore: 5.0.6 -> 5.0.7
2020-03-20 06:26:53 -05:00
Mario Rodas
baeb670ce2
Merge pull request #82610 from r-ryantm/auto-update/eagle
eagle: 9.5.2 -> 9.6.0
2020-03-20 06:21:30 -05:00
Mario Rodas
0badbdff21
Merge pull request #82841 from r-ryantm/auto-update/pyznap
pyznap: 1.4.3 -> 1.5.0
2020-03-20 06:20:00 -05:00
Mario Rodas
1df02c839b
Merge pull request #82463 from r-ryantm/auto-update/dovecot-pigeonhole
dovecot_pigeonhole: 0.5.9 -> 0.5.10
2020-03-20 06:13:55 -05:00
Mario Rodas
918ef0302d
Merge pull request #82980 from r-ryantm/auto-update/python2.7-XStatic-jQuery
python27Packages.xstatic-jquery: 3.3.1.1 -> 3.4.1.0
2020-03-20 06:12:19 -05:00
Mario Rodas
0761fba688
Merge pull request #82725 from r-ryantm/auto-update/uid_wrapper
uid_wrapper: 1.2.7 -> 1.2.8
2020-03-20 06:12:02 -05:00
Mario Rodas
8dd186e0d0
Merge pull request #82969 from marsam/update-fluent-bit
fluent-bit: 1.3.9 -> 1.3.11
2020-03-20 06:07:54 -05:00
Domen Kožar
9fbd5a3931
Merge pull request #81492 from karantan/add/hashdeep-package
Add hashdeep 4.4 package
2020-03-20 11:54:14 +01:00
Domen Kožar
091bd1e65a
Update pkgs/tools/security/hashdeep/default.nix 2020-03-20 11:53:34 +01:00
Domen Kožar
a28e401fd5
Merge branch 'master' into add/hashdeep-package 2020-03-20 11:51:25 +01:00
Domen Kožar
bba48b78a1
Merge pull request #82990 from sayanarijit/master
poetry: 1.0.3 -> 1.0.5
2020-03-20 11:42:28 +01:00
Arijit Basu
84adca1568 poetry: 1.0.3 -> 1.0.5 2020-03-20 15:30:08 +05:30
Jan Tojnar
a08d4f605b
Merge pull request #78117 from mkg20001/pkg/muffin
cinnamon.muffin: init at 4.4.2
2020-03-20 10:10:15 +01:00
Peter Simons
abd30ff776 django: update version 2.2.10 to 2.2.11 2020-03-20 09:55:03 +01:00
R. RyanTM
7bf2e48748 python27Packages.xstatic-jquery: 3.3.1.1 -> 3.4.1.0 2020-03-20 06:57:00 +00:00
Drew Risinger
f56a759f13 pythonPackages.pproxy: init at 2.3.2
Tunnels among remote servers using regex rules.
Requirement for pythonPackages.qiskit-ibmq-provider.
2020-03-19 21:49:22 -07:00
Josef Kemetmüller
bffc749210 nixosTests.fenics: Add basic test 2020-03-19 21:48:27 -07:00
Josef Kemetmüller
fbb273c5fe fenics: 2017.1.0 -> 2019.1.0
Fixes: NixOS/nixpkgs#75886
2020-03-19 21:48:27 -07:00
Ben Wolsieffer
569566d98b libgpiod: add support for Python bindings 2020-03-19 21:44:10 -07:00
R. RyanTM
080d77443e python37Packages.nest-asyncio: 1.2.3 -> 1.3.0 2020-03-19 21:40:38 -07:00
Mario Rodas
a437fe2565 terraform: 0.12.23 -> 0.12.24
Changelog: https://github.com/hashicorp/terraform/releases/tag/v0.12.24
2020-03-20 01:44:45 +00:00