Commit graph

225213 commits

Author SHA1 Message Date
Maximilian Bosch 59e8e7a129
rust: improve docs
Co-authored-by: cole-h <cole.e.helbling@outlook.com>
Co-authored-by: asymmetric <lorenzo@mailbox.org>
2020-05-31 21:47:32 +02:00
Maximilian Bosch 6574ba1946
rust*: add docs for testing packages
See also https://discourse.nixos.org/t/rust-build-speed-improvements/7225
2020-05-24 18:37:34 +02:00
Maximilian Bosch 913dcddb68
ripasso-cursive: fix tests
Needed since we store artifacts in `target/<arch>/<profile>`.
2020-05-13 22:22:51 +02:00
Maximilian Bosch 068beb2c07
gnvim: fix build
When running the default builder for Rust, the artifacts would be stored
in `target/<arch>/<profile>`, however the `install`-target expects the
default structure (`target/<profile>`) of `cargo`-builds.

When using the Makefile for building as well, the expected structure is
created instead.
2020-05-13 22:19:47 +02:00
Maximilian Bosch e49f3a4760
nym: fix tests
A lot of tests are using `debug_assert!` which isn't available in
release-mode.
2020-05-13 22:19:16 +02:00
Maximilian Bosch 0d7f889607
cargo-deb: fix build 2020-05-13 01:47:44 +02:00
Maximilian Bosch 6b23cfe689
rustPlatform: add buildAndTestSubdir-argument
There are several tarballs (such as the `rust-lang/rust`-source) with a
`Cargo.toml` at root and several sub-packages (with their own Cargo.toml)
without using workspaces[1].

In such a case it's needed to move into a subdir to only build the
specified sub-package (e.g. `rustfmt` or `rsl`), however the artifacts
are at `/target` in the root-dir of the build environment. This breaks
the build since `buildRustPackage` searches for executables in `target`
(which is at the build-env's root) at the end of the `buildPhase`.

With the optional `buildAndTestSubdir`-argument, the builder moves into
the specified subdir using `pushd`/`popd` during `buildPhase` and
`checkPhase`.

Also moved the logic to find executables and libs to the end of the `buildPhase`
from a custom `postBuild`-hook to fix packages with custom `build`/`install`-procedures
such as `uutils-coreutils`.

[1] https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html
2020-05-13 01:47:17 +02:00
Maximilian Bosch 736462d995
rustPlatform: make it possible to override the profile for cargo test 2020-05-13 01:39:44 +02:00
Vladimír Čunát 5eaabaf089
Merge branch 'staging-next' into PR 82342
Hydra nixpkgs: ?compare=1586582
2020-05-11 08:22:59 +02:00
Frederik Rietdijk 303adc7697 Merge master into staging-next 2020-05-10 09:43:48 +02:00
Vladimír Čunát 2e192dc5db
Merge #87237: gcc10, gfortran10, gnat10: init at 10.1.0 2020-05-10 08:03:13 +02:00
Benjamin Hipple e5e3090908
Merge pull request #87463 from marsam/update-git-lfs
git-lfs: 2.10.0 -> 2.11.0
2020-05-09 23:24:08 -04:00
Mario Rodas ba0435e72b
Merge pull request #87452 from marsam/update-recursive
recursive: 1.047 -> 1.051
2020-05-09 21:47:44 -05:00
Jaka Hudoklin 91271207ca
Merge pull request #87458 from zowoq/shellfiles
containerd, docker, runc: use/update installShellFiles
2020-05-10 02:35:15 +00:00
Benjamin Hipple bc8e621141
Merge pull request #87440 from bhipple/doc/py-manual
doc: use idiomatic overlay names in the python manual example
2020-05-09 21:33:52 -04:00
zowoq 3a79753662 runc: update installManPages 2020-05-10 11:33:10 +10:00
zowoq 764dd5c875 docker: use installShellFiles 2020-05-10 11:33:04 +10:00
zowoq 4d2bcaed5c containerd: use installShellFiles 2020-05-10 11:27:10 +10:00
Maximilian Bosch 54677515aa
gitea: 1.11.4 -> 1.11.5
https://github.com/go-gitea/gitea/releases/tag/v1.11.5

Also applying the patch which fixes the wiki-pages, closes #87115.
2020-05-10 03:02:44 +02:00
Mario Rodas 8441d53b7b
Merge pull request #87329 from r-ryantm/auto-update/python2.7-Eve
python27Packages.eve: 1.0 -> 1.1
2020-05-09 20:01:09 -05:00
Aaron Andersen aaa33ed789
Merge pull request #87179 from aanderse/zabbix
zabbix: 4.4.7 -> 4.4.8, 4.0.19 -> 4.0.20, 3.0.30 -> 3.0.31
2020-05-09 20:56:30 -04:00
Mario Rodas f83c5d3432
Merge pull request #87398 from Luflosi/update/ipfs
ipfs: 0.5.0 -> 0.5.1
2020-05-09 19:35:39 -05:00
Mario Rodas 7f63461c22
Merge pull request #87391 from xrelkd/update/firecracker
firecracker: 0.20.0 -> 0.21.1
2020-05-09 19:35:08 -05:00
Maximilian Bosch 15cebd3153
Merge pull request #87442 from marsam/update-ripgrep
ripgrep: 12.0.1 -> 12.1.0
2020-05-10 01:49:20 +02:00
Maximilian Bosch f887d09c89
linuxPackages.wireguard: 1.0.20200429 -> 1.0.20200506
https://lists.zx2c4.com/pipermail/wireguard/2020-May/005408.html
2020-05-10 01:35:30 +02:00
Maximilian Bosch 9a8e600be4
wireguard-go: 0.0.20200121 -> 0.0.20200320
https://git.zx2c4.com/wireguard-go/tag/?h=v0.0.20200320
2020-05-10 01:35:29 +02:00
Maximilian Bosch fd0a039410
wdisplays: 2020-03-15 -> 1.0
https://github.com/cyclopsian/wdisplays/releases/tag/1.0
2020-05-10 01:35:29 +02:00
Benjamin Hipple c3e2f98779 doc: use idiomatic overlay names in the python manual example
An overlay by any other name would function just as well, but we generally use
`self: super:` for the regular overlays, and `python-self: python-super`.
2020-05-09 18:02:20 -04:00
Benjamin Hipple d373d80b12
Merge pull request #87407 from bhipple/doc/py38
doc: update python manual to reference python 3.8 instead of 3.5
2020-05-09 17:29:19 -04:00
Mario Rodas 8772cee9f9
ripgrep: 12.0.1 -> 12.1.0
Changelog: https://github.com/BurntSushi/ripgrep/releases/tag/12.1.0
2020-05-09 16:20:00 -05:00
Michael Raskin e15ab2cda7
Merge pull request #87417 from helsinki-systems/fix/glusterfs_snapshots
glusterfs: fix snapshots
2020-05-09 20:40:21 +00:00
Alyssa Ross 24fcef1b9e cgit: 1.2.1 -> 1.2.3
cgit now supports lzip and zstd compression.
2020-05-09 22:00:50 +02:00
Jörg Thalheim cb95d670fb
Merge pull request #87337 from r-ryantm/auto-update/python2.7-Flask-WTF 2020-05-09 20:36:33 +01:00
Benjamin Hipple 3d9f3c3dd3
Merge pull request #75827 from stites/pytorch-1.3.1
python3Packages.pytorch: 1.2.0 -> 1.4.1, python3Packages.ignite: 0.2.1 -> 0.3.0
2020-05-09 15:27:27 -04:00
Matthew Bauer b907387ffe
Merge pull request #87212 from matthewbauer/dont-include-gdk-pixbuf-module-file
nixos/gdk-pixbuf.nix: don’t set GDK_PIXBUF_MODULE_FILE in cross
2020-05-09 14:06:48 -05:00
Dmitry Kalinkin e80302dc7d
Merge pull request #86142 from bcdarwin/itk-5.1.0
Itk: 5.0.1 -> 5.1.0
2020-05-09 15:03:28 -04:00
Dmitry Kalinkin 8ceef190c1
Merge pull request #78352 from winpat/add_pxview
pxview: init at 0.2.5
2020-05-09 15:02:24 -04:00
Benjamin Hipple ecef2975e3 python3Packages.pytorch: reference dnnl by new name oneDNN 2020-05-09 14:46:40 -04:00
ajs124 faa621ce76 glusterfs: fix indentation 2020-05-09 20:34:23 +02:00
ajs124 2be47f021a glusterfs: fix snapshots 2020-05-09 20:32:37 +02:00
Florian Klink 8325e0db11 Revert "nixos/resolved: Include dbus alias of resolved unit"
This reverts commit 7fe539f799.
2020-05-09 20:05:01 +02:00
Benjamin Hipple 47105a1689 python3Packages.ignite: 0.2.1 -> 0.3.0 2020-05-09 13:58:21 -04:00
Benjamin Hipple fb5bb25c10 python3Packages.pytorch: fixup builds with MKL
- Pass `blas.provider` into `buildInputs`, so that CMake can find the actual
  `mkl` for inspection of its cmake files and headers.

- Add `USE_MKL` correctly when the blas provider is `mkl`.

- Use the MKLDNN and MKLDNN_CBLAS flags by default, since `mkldnn` is FOSS and
  always available..

- Remove a patch for MKL 2019, since we've moved to 2020.

- Add a pythonImportsCheck for "torch" as a basic sanity-check

- Removed some unused variables at the top of the file
2020-05-09 13:30:54 -04:00
Sam Stites cc245fdcd5 pytorch: 1.2.0 -> 1.4.1
Co-authored-by: Benjamin Hipple <bhipple@protonmail.com>
2020-05-09 13:30:54 -04:00
Bjørn Forsman eb12149979 gnomeExtensions: add 'uuid' attr to all extensions
Some already have it, this adds it to the rest.

With all extensions having an 'uuid' attr we can do cool things like
declaratively enable extensions on NixOS.
2020-05-09 19:26:29 +02:00
gnidorah d0c3e7bedb maintainers/scripts/build.nix: script to build all maintainer packages 2020-05-09 18:59:04 +02:00
Benjamin Hipple c0f434fcc8 doc: update python manual to reference python 3.8 instead of 3.5
Improvement suggested in #87094
2020-05-09 12:58:00 -04:00
Florian Klink d4c2f1ab5d
Merge pull request #87263 from arianvp/resolved-dbus
nixos/resolved: Include dbus alias of resolved unit
2020-05-09 18:06:50 +02:00
Pavol Rusnak 8277fb4d76 bitcoin: 0.19.0.1 -> 0.19.1 2020-05-09 17:36:11 +02:00
Luflosi 5317280ade
ipfs: 0.5.0 -> 0.5.1
https://github.com/ipfs/go-ipfs/releases/tag/v0.5.1
2020-05-09 17:33:34 +02:00