1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 18:12:46 +00:00
Commit graph

255610 commits

Author SHA1 Message Date
Sandro de9202b76b
Merge pull request #105375 from r-ryantm/auto-update/python2.7-bumps
python27Packages.bumps: 0.7.16 -> 0.7.18
2020-11-30 12:58:52 +01:00
Farid Zakaria 4af8bc084a
buildRubyGem: fix to support bundler cmds (#104977)
The way in which Nixpks builds Ruby gems means that certain operations
by bundler *will not work*, namely `bundle install --redownload`.

According to the source the _cache/_ directory should have been kept,
however it seems through revisions to the file it has been purged.

Here was the comment from the original commit that introduced
buildRubyGem:
```
  # Note:
  #   We really do need to keep the $out/${ruby.gemPath}/cache.
  #   This is very important in order for many parts of RubyGems/Bundler to not blow up.
  #   See https://github.com/bundler/bundler/issues/3327
```

Why is the _cache_ directory needed?

Bundler and RubyGems uses the cache as a source of truth.
When bundler executes `bundler install --redownload`, any gems it
discovers in the _GEM_PATH_ it assums must have their _.gem_ file
present in the cache (unaware it was installed from Nix).

Rather than downloading the gem from RubyGems the bundler code forcibly
re-installs the gem from the cache directory instead and **fails** if it
does not exist.

I've opened https://github.com/rubygems/rubygems/issues/4088 to see if
this failure should be soft and not so explicit; or fallback to fetching
the gem from scratch.

Without this change the following is the error:
```bash
> [nix-shell:~/code/nix/playground/jruby-bundler-rake]$ bundle install --force
[DEPRECATED] The `--force` option has been renamed to `--redownload`
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/nix/store/fis6nzrpw9pmcivr84qh5byfgm07qn10-jruby-9.2.13.0/lib/ruby/stdlib/jopenssl.jar) to field java.security.MessageDigest.provider
WARNING: Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Fetching gem metadata from https://rubygems.org/.
Using bundler 2.1.4
Installing hello-world 1.2.0
Bundler::GemNotFound: Could not find hello-world-1.2.0.gem for installation
An error occurred while installing hello-world (1.2.0), and Bundler
cannot continue.
Make sure that `gem install hello-world -v '1.2.0' --source
'https://rubygems.org/'` succeeds before bundling.
```

Wth the fix the following no woccurs:
```bash
[nix-shell:~/code/nix/playground/jruby-bundler-rake]$ bundle install --redownload
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/nix/store/69wjlj4yirp48rv1q03zxgd4xvf0150d-jruby-9.2.13.0/lib/ruby/stdlib/jopenssl.jar) to field java.security.MessageDigest.provider
WARNING: Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Fetching gem metadata from https://rubygems.org/.
Using bundler 2.1.4
Installing hello-world 1.2.0
Bundle complete! 1 Gemfile dependency, 2 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
```

```
[nix-shell:~/code/nix/playground/jruby-bundler-rake]$ ls -l /nix/store/cwl9n5073hqgpfhnw4wic13nrrgg9dn8-gem-env/lib/jruby/gems/2.5.0/cache/
total 8
lrwxrwxrwx 1 fmzakari primarygroup 102 Dec 31  1969 bundler-2.1.4.gem -> /nix/store/ifc8a0gsfkrhkv953rd4rz8bcspahi8y-bundler-2.1.4/lib/jruby/gems/2.5.0/cache/bundler-2.1.4.gem
lrwxrwxrwx 1 fmzakari primarygroup 110 Dec 31  1969 hello-world-1.2.0.gem -> /nix/store/xi9ln6n1mz2is5ppykjxqhhkpjq9zm6i-hello-world-1.2.0/lib/jruby/gems/2.5.0/cache/hello-world-1.2.0.gem
```

I have a minimal project that demonstrates this issue at https://github.com/fzakaria/jruby-bundler-nix-failure
2020-11-30 12:15:12 +01:00
adisbladis a52850e304
Merge pull request #105113 from adisbladis/pythonforbuild-overrides
python: Propagate packageOverrides to pythonForBuild
2020-11-30 11:41:58 +01:00
Maximilian Bosch b516a09d46
Merge pull request #104603 from siraben/errcheck-update
errcheck: 1.1.0 -> 1.4.0
2020-11-30 11:36:33 +01:00
Maximilian Bosch b74f180181
Merge pull request #105421 from RaghavSood/aleth/delete
cpp_ethereum: remove
2020-11-30 11:30:16 +01:00
adisbladis 49b8738a5f
python: Propagate packageOverrides to pythonForBuild
When overriding versions of build tools injected via hooks
`packageOverrides` was not taken into account and 2 incompatible
versions of the same package (`wheel` in this case) ended up in the
closure, causing the builds to fail.
2020-11-30 11:12:59 +01:00
Maximilian Bosch ee3c23e0a3
documize-community: 3.8.1 -> 3.8.2
https://github.com/documize/community/releases/tag/v3.8.2
2020-11-30 10:36:24 +01:00
Pavol Rusnak 24eb3f87fc
Merge pull request #105130 from Th0rgal/master
ledger-live-desktop: 2.16.0 -> 2.17.1
2020-11-30 09:33:03 +01:00
Vincent Laporte 389ac5f00e ocamlPackages.batteries: 3.1.0 → 3.2.0 2020-11-30 08:13:28 +01:00
Wil Taylor b6bca3d806
doc/Qt: migrate to CommonMark (#105004)
* Updated QT section

* Fixed trailing whitespace

* Update doc/languages-frameworks/qt.section.md

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>

* Update doc/languages-frameworks/qt.section.md

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>

* Made changes to docs as per jtojnar's review

* Added docbook tags for callouts back in

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2020-11-29 20:30:29 -08:00
R. RyanTM 3b1b6510e3 python37Packages.pytest-metadata: 1.10.0 -> 1.11.0 2020-11-29 20:07:21 -08:00
Raghav Sood 1fd8d571ed
cpp_ethereum: remove 2020-11-30 03:23:21 +00:00
Sandro ea3561228d
Merge pull request #105387 from freezeboy/unbreak-py2-ecpy
python2Packages.ecpy: unbreak due to invalid code
2020-11-30 04:05:14 +01:00
Mario Rodas 04238cf7f7
Merge pull request #104941 from r-ryantm/auto-update/axel
axel: 2.17.9 -> 2.17.10
2020-11-29 21:42:16 -05:00
Mario Rodas f180a29b03
Merge pull request #105403 from r-ryantm/auto-update/python2.7-ijson
python27Packages.ijson: 3.1.2.post0 -> 3.1.3
2020-11-29 21:29:13 -05:00
Mario Rodas 4572d27853
Merge pull request #105416 from r-ryantm/auto-update/python3.7-jupyterlab_git
python37Packages.jupyterlab-git: 0.23.1 -> 0.23.2
2020-11-29 21:24:53 -05:00
Martin Weinelt ec433df657
Merge pull request #105413 from ryantm/updatereadme
readme: update reference to number of packages
2020-11-30 03:07:20 +01:00
Sandro c64538b659
Merge pull request #105348 from Mic92/httpbin
python3.pkgs.httpbin: 0.6.2 -> 0.7.0
2020-11-30 02:30:07 +01:00
Sandro b678eab5d8
Merge pull request #105389 from oyren/portfolio-0.49.3
portfolio: 0.49.2 -> 0.49.3
2020-11-30 02:29:35 +01:00
Sandro 9d5d6b0a26
Merge pull request #104807 from SuperSandro2000/auto-update/python3.7-b2sdk 2020-11-30 02:13:30 +01:00
Sandro 142bd18593
Merge pull request #105408 from RonanMacF/master
vimPlugins.nvim-ts-rainbow: init at 2020-11-25
2020-11-30 02:03:13 +01:00
Sandro 5c9051e211
Merge pull request #105404 from jupblb/add-glow-nvim 2020-11-30 02:01:33 +01:00
R. RyanTM 6e1c706c00 python37Packages.jupyterlab-git: 0.23.1 -> 0.23.2 2020-11-30 00:53:15 +00:00
Sandro e065cbf01c
Merge pull request #105386 from arnarg/tmux-jump
tmuxPlugins.jump: init at 2020-06-26
2020-11-30 01:42:52 +01:00
Sandro 26c543168c
Merge pull request #105352 from r-ryantm/auto-update/python2.7-dependency-injector
python27Packages.dependency-injector: 4.4.1 -> 4.5.1
2020-11-30 01:34:36 +01:00
Ryan Mulligan 82657dc074 readme: update reference to number of packages
We updated the top of the readme to reference 60,000, but we forgot to
update this reference. This changes it so it won't become invalid for
a bit.
2020-11-29 16:18:12 -08:00
Dennis Gosnell a2b278f095
Merge pull request #105400 from arcz/libff
libff: init at 1.0.0
2020-11-30 09:08:26 +09:00
Ryan Mulligan db4f3eafb0
Merge pull request #105302 from AndersonTorres/wip-kakoune
Convert Kakoune documentation from XML DocBook to Commonmark
2020-11-29 15:51:41 -08:00
jupblb 49528362eb
vimPlugins.glow-nvim: init at 2020-08-31 2020-11-30 00:49:23 +01:00
Sandro 438679e1fb
Merge pull request #105361 from stigtsp/package/perl-crypt-perl-init 2020-11-30 00:39:13 +01:00
AndersonTorres 25b8aa4a85 Convert Kakoune documentation from XML DocBook to Commonmark 2020-11-29 20:19:28 -03:00
Sandro e23f098b69
Merge pull request #105381 from arnarg/tmux-tilish
tmuxPlugins.tilish: init at 2020-08-12
2020-11-29 23:30:58 +01:00
RonanMacF 2724d807c9 vimPlugins.nvim-ts-rainbow: init at 2020-11-25 2020-11-29 22:29:34 +00:00
R. RyanTM e15ce6b6fa python27Packages.ijson: 3.1.2.post0 -> 3.1.3 2020-11-29 22:23:32 +00:00
jupblb 09d73e29df
vimPlugins: update 2020-11-29 23:23:11 +01:00
Artur Cygan 304fe564a1 libff: init at 1.0.0 2020-11-29 23:08:20 +01:00
R. RyanTM c5b4cbd446 python27Packages.identify: 1.5.9 -> 1.5.10 2020-11-29 14:05:54 -08:00
R. RyanTM edaf507d61 python37Packages.green: 3.2.4 -> 3.2.5 2020-11-29 14:05:37 -08:00
Florian Klink a623bc0ba4
Merge pull request #104689 from petabyteboy/feature/gitlab-13-6-1
gitlab: 13.6.0 -> 13.6.1
2020-11-29 22:37:42 +01:00
Benjamin Hipple ae1b8cce75
Merge pull request #94558 from bhipple/fix/lint
nixpkgs-lint: ignore user's overlays
2020-11-29 16:08:30 -05:00
Maximilian Bosch 752b6a95db
nixos/mautrix-telegram: update defaults
These three defaults must exist in the config now, otherwise
`mautrix-telegram` will refuse to start.
2020-11-29 21:28:07 +01:00
Maximilian Bosch 878e80c596
mautrix-telegram: fix application
* In 0.9 the entrypoint got removed as it's recommended to use
  `python -m`[1]. However, our build layer for python relies on
  that, so I added a patch to re-add this.

* The tests in the upstream sources appear abandoned, so those are
  skipped. Therefore it's also pointless to add `pytest-runner` to the
  `nativeBuildInputs` as it's not used and only blows up the build
  closure.

  A second patch modifies the requirements, so ow `pytest-runner` isn't
  needed anymore.

[1] a565853c5e
2020-11-29 21:28:07 +01:00
R. RyanTM 1541df5437 python37Packages.dulwich: 0.20.11 -> 0.20.14 2020-11-29 12:14:39 -08:00
Moritz Scheuren fc0a07c8a3 portfolio: 0.49.2 -> 0.49.3 2020-11-29 19:45:30 +01:00
R. RyanTM 23a5371532 python27Packages.gin-config: 0.3.0 -> 0.4.0 2020-11-29 10:19:21 -08:00
freezeboy b95d95d8fe python2Packages.ecpy: unbreak due to invalid code 2020-11-29 19:17:37 +01:00
Arnar Gauti Ingason 4115b5adb1 tmuxPlugins.jump: init at 2020-06-26 2020-11-29 19:02:14 +01:00
Sandro 9d440b2342
Merge pull request #105339 from r-ryantm/auto-update/pkcs11-helper
pkcs11helper: 1.26 -> 1.27
2020-11-29 18:58:41 +01:00
Maximilian Bosch 91e6ee02c7
Merge pull request #104450 from anna328p/lc3tools
lc3tools: init at 0.12
2020-11-29 18:39:40 +01:00
Maximilian Bosch e0ee74373d
Merge pull request #105142 from wentasah/autorandr-man
autorandr: Install manpage
2020-11-29 18:31:32 +01:00