1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
Commit graph

218847 commits

Author SHA1 Message Date
Benjamin Hipple 3b7b98ce1e pythonPackages.effect: fix build by marking py3 only
Upstream only supports python >= 3.6:
https://github.com/python-effect/effect/#effect

CC @NixOS/nixos-release-managers

ZHF: #80379
2020-03-27 23:10:36 -04:00
Jörg Thalheim 716aa1abdb
curaengine-lulzbot: fix build 2020-03-28 03:06:34 +00:00
Jonathan Ringer d0f556a2ff onnxruntime: 1.1.2 -> 1.2.0 2020-03-27 19:59:51 -07:00
Benjamin Hipple a65e052e4c python38Packages.zetup: fix build
Currently fails to build on python 3.8 due to an overly restrictive version bound.

ZHF: #80379

CC @NixOS/nixos-release-managers
2020-03-27 22:59:43 -04:00
Jonathan Ringer da41b78db8 acme: fix darwin build 2020-03-27 19:59:43 -07:00
Mario Rodas 2c76b8f575
Merge pull request #83536 from zowoq/buildah
buildah: 1.14.4 -> 1.14.5
2020-03-27 21:52:23 -05:00
Benjamin Hipple 698ec44e74 treewide: remove torch and related packages
See #71888 for details.
2020-03-27 22:32:35 -04:00
Jörg Thalheim af2e41c4dd
home-assistant: 0.106.6 -> 0.107.0 2020-03-28 02:29:59 +00:00
Jörg Thalheim 808909d0db
hass-nabucasa: 0.31 -> 0.32.2 2020-03-28 02:29:59 +00:00
Jörg Thalheim 0d0a9776a2
python3.pkgs.pycognito: init at 0.1.2 2020-03-28 02:29:59 +00:00
Jörg Thalheim c646a56802
python-jose: 3.0.1 -> 3.1.0 2020-03-28 02:29:59 +00:00
Jörg Thalheim 63749d8a18
python3.pkgs.pyicloud: 0.9.4 -> 0.9.5 2020-03-28 02:29:59 +00:00
Jörg Thalheim 3c85ed263d
python3.pkgs.zeroconf: 0.24.4 -> 0.24.5 2020-03-28 02:29:58 +00:00
Jörg Thalheim f146d5fdbe
home-assistant-frontend: 20200220.5 -> 20200318.0 2020-03-28 02:29:58 +00:00
Jörg Thalheim 49e252a46c
python3.pkgs.ciso8601: init at 2.1.3 2020-03-28 02:29:58 +00:00
aszlig e1d63ada02
nginx: Fix ETag patch to ignore realpath(3) error
While our ETag patch works pretty fine if it comes to serving data off
store paths, it unfortunately broke something that might be a bit more
common, namely when using regexes to extract path components of
location directives for example.

Recently, @devhell has reported a bug with a nginx location directive
like this:

  location ~^/\~([a-z0-9_]+)(/.*)?$" {
    alias /home/$1/public_html$2;
  }

While this might look harmless at first glance, it does however cause
issues with our ETag patch. The alias directive gets broken up by nginx
like this:

  *2 http script copy: "/home/"
  *2 http script capture: "foo"
  *2 http script copy: "/public_html/"
  *2 http script capture: "bar.txt"

In our patch however, we use realpath(3) to get the canonicalised path
from ngx_http_core_loc_conf_s.root, which returns the *configured* value
from the root or alias directive. So in the example above, realpath(3)
boils down to the following syscalls:

  lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  lstat("/home/$1", 0x7ffd08da6f60) = -1 ENOENT (No such file or directory)

During my review[1] of the initial patch, I didn't actually notice that
what we're doing here is returning NGX_ERROR if the realpath(3) call
fails, which in turn causes an HTTP 500 error.

Since our patch actually made the canonicalisation (and thus additional
syscalls) necessary, we really shouldn't introduce an additional error
so let's - at least for now - silently skip return value if realpath(3)
has failed.

However since we're using the unaltered root from the config we have
another issue, consider this root:

  /nix/store/...-abcde/$1

Calling realpath(3) on this path will fail (except if there's a file
called "$1" of course), so even this fix is not enough because it
results in the ETag not being set to the store path hash.

While this is very ugly and we should fix this very soon, it's not as
serious as getting HTTP 500 errors for serving static files.

I added a small NixOS VM test, which uses the example above as a
regression test.

It seems that my memory is failing these days, since apparently I *knew*
about this issue since digging for existing issues in nixpkgs, I found
this similar pull request which I even reviewed:

https://github.com/NixOS/nixpkgs/pull/66532

However, since the comments weren't addressed and the author hasn't
responded to the pull request, I decided to keep this very commit and do
a follow-up pull request.

[1]: https://github.com/NixOS/nixpkgs/pull/48337

Signed-off-by: aszlig <aszlig@nix.build>
Reported-by: @devhell
Acked-by: @7c6f434c
Acked-by: @yorickvP
Merges: https://github.com/NixOS/nixpkgs/pull/80671
Fixes: https://github.com/NixOS/nixpkgs/pull/66532
2020-03-28 02:57:21 +01:00
Benjamin Hipple b96cdee097
Merge pull request #82998 from OPNA2608/update-rpcs3
rpcs3: 0.0.6-8187-790962425 -> 0.0.8-9300-341fdf7eb
2020-03-27 21:57:07 -04:00
R. RyanTM 0174009059 python27Packages.plumbum: 1.6.8 -> 1.6.9 2020-03-28 01:55:51 +00:00
Eduardo Quiros aed79fb5ee
vimPlugins.vim-kitty-navigator: init at 2019-11-04 2020-03-27 19:19:06 -06:00
Benjamin Hipple a4a00ca3cc python3Packages.apache-airflow: no-op cleanups to drv file
Consistently indent with 2 spaces and cleanup the meta by quoting it for
https://github.com/NixOS/rfcs/pull/45
2020-03-27 21:05:53 -04:00
Benjamin Hipple ae6bdcc535
Merge pull request #83526 from drewrisinger/dr-pr-python-scikit-build-38
pythonPackages.scikit-build: fix test bug on python3.8
2020-03-27 20:44:55 -04:00
Drew Risinger c8dd834189 pythonPackages.scikit-build: fix python3.8 bug
Python3.8 removes ``platform.linux_distribution()`` call,
must use ``pythonPackages.distro`` to get same information.
Closes #83305
Upstream PR: https://www.github.com/scikit-build/scikit-build/pull/458
Also formatting.
2020-03-27 20:38:05 -04:00
worldofpeace eddc4f3b98
Merge pull request #83542 from bhipple/zhf/ion
ion: 1.0.5 -> unstable-2020-03-22 and fix build
2020-03-27 20:30:05 -04:00
Orivej Desh 0dae508978 x42-gmsynth: init at 0.4.1 2020-03-27 23:58:13 +00:00
Orivej Desh 8a43a2818a x42-avldrums: init at 0.4.1 2020-03-27 23:58:10 +00:00
Orivej Desh 14753000ed x42-autotune: remove
It is a part of x42-plugins (under the name of x42-fat1).
2020-03-27 23:57:42 +00:00
Ben Wolsieffer f76890fda4
proj: use pname instead of name 2020-03-27 19:49:34 -04:00
adisbladis aa2552c6ce
poetry2nix: 1.7.0 -> 1.7.1 2020-03-27 23:47:40 +00:00
Benjamin Hipple 16cdff0711 ion: 1.0.5 -> unstable-2020-03-22
The app is still maintained upstream, but they aren't cutting releases on
crates.io anymore:
https://crates.io/crates/ion-shell

This fixes the build with the latest Rust toolchain by upgrading to the current
commit off the project's `master`.

ZHF: #80379
2020-03-27 19:47:33 -04:00
R. RyanTM 0b1e4118b4 python27Packages.mayavi: 4.7.0 -> 4.7.1 2020-03-27 23:45:02 +00:00
José Romildo Malaquias b101527140
Merge pull request #83495 from romildo/upd.freeoffice
freeoffice: 974 -> 976
2020-03-27 20:00:20 -03:00
Orivej Desh 2f826a6705 x42-autotune: init at 0.6.1 2020-03-27 22:58:18 +00:00
R. RyanTM 181ab9ec0e python37Packages.minidb: 2.0.2 -> 2.0.3 2020-03-27 22:56:48 +00:00
adisbladis dda52a4571
poetry2nix: 1.6.1 -> 1.7.0 2020-03-27 22:54:34 +00:00
R. RyanTM 2a491a53c3 python27Packages.fire: 0.2.1 -> 0.3.0 2020-03-27 22:35:13 +00:00
worldofpeace bee6c1a445
Merge pull request #81207 from aaronjanse/update-ulauncher-561
ulauncher: 4.4.0.r1 -> 5.6.1
2020-03-27 18:01:13 -04:00
worldofpeace 5e65872697
Merge pull request #83126 from mkg20001/pkg/mint-y-icons
cinnamon.mint-y-icons: init at unstable-2020-03-21
2020-03-27 17:57:39 -04:00
zowoq 9a5c27a513 buildah: 1.14.4 -> 1.14.5
https://github.com/containers/buildah/releases/tag/v1.14.5
2020-03-28 07:55:51 +10:00
Ben Darwin 17611f14c2 python3Packages.dipy: init at 1.1.1 2020-03-27 14:43:56 -07:00
Benjamin Hipple feb39bd6df
Merge pull request #83277 from robertodr/update-mkl
mkl: 2019.5.281 -> 2020.0.166 (Linux only)
2020-03-27 17:37:52 -04:00
Orivej Desh b8bcf8cb4f zita-at1: init at 0.6.2 2020-03-27 21:18:05 +00:00
Artemis Tosini b3e1a1bbbb
chromium: Add option to enable ozone (for Wayland) 2020-03-27 21:16:38 +00:00
John Ericson ea5c800175 Merge branch 'tensorflow-versions'
No code is changed, just trying to assist with eventual backport.
2020-03-27 20:53:40 +00:00
Aaron Janse 276bfbc17e ulauncher: 4.4.0.r1 -> 5.6.1 2020-03-27 13:47:10 -07:00
Andreas Wiese f0f6527e97 matrix-dl: init at (unstable-)2019-09-22 2020-03-27 21:44:26 +01:00
Andreas Rammhold 07bd8938f3 pythonPackages.tensorflow-estimator_1_15_1: init at 1.15.1
TF 1.15 still needs an older version of the tensorflow-estimator
package.

(cherry picked from commit c539f937c5)
2020-03-27 20:34:32 +00:00
Thibault Gagnaux 99a2467722 amazon-ecs-cli: 1.18.0 -> 1.18.1 2020-03-27 13:32:40 -07:00
nyanloutre 3a15a13354 steam.chrootenv: Add Prison Architect dependencies 2020-03-27 13:31:52 -07:00
nyanloutre 8bd3cf22c2 steamrt: 1.20190624 -> 1.20200128 2020-03-27 13:31:52 -07:00
Peter Simons 1d963cde66
Merge pull request #83164 from NixOS/haskell-updates
Update Haskell package set to LTS 15.5 (plus other fixes)
2020-03-27 21:31:27 +01:00