3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

4605 commits

Author SHA1 Message Date
Doron Behar 2e7d97a50d
Merge pull request #103584 from danieldk/ruby-check-disallowed-references
ruby: check disallowed references with jitSupport disabled
2020-11-13 09:34:31 +02:00
Frederik Rietdijk 3fceafce1e buildPython*: remove pythonRecompileBytecodeHook as dependency
This hook was added to get reproducible bytecode. Because it was causing
issues it was disabled, but still kept as a dependency. Now the main
issue with bytecode reproducibility has been resolved by updating pip to
20.2.4, we remove this hook as a dependency.

If a package with Python code is not yet reproducible, one could add
this hook to `nativeBuildInputs`.
2020-11-12 19:32:30 +01:00
Daniël de Kok b235552837 ruby: check disallowed references with jitSupport disabled
This makes it easier to detect regressions.
2020-11-12 15:12:59 +01:00
Frederik Rietdijk 4076ffe580 Merge staging-next into staging 2020-11-11 16:00:34 +01:00
Gabriel Gonzalez 87d5e6fc1a Change idiom for overriding Dhall package version
Before this change, a Dhall package like the Prelude would be
encoded as a record with one field per supported version.  Then
downstream packages would specify which package to override
by selecting a different record field.

The problem with that approach is that it did not provide an
easy way to override a package to a version other than the default
ones supplied by Nixpkgs.  Normally you would use the `.override`
method for this purpose, but the `override` method added by
`buildDhall{Directory,GitHub}Package` is clobbered by the
`override` method added by `callPackage` in
`./pkgs/top-level/dhall-packages.nix`.

The solution is to add a separate `.overridePackage` method which is
essentially the exact same as `.override`, except that it is no
longer clobbered by `callPackage`.  This `.overridePackage` method
allows one to override the arguments supplied to
`buildDhall{Directory,GitHub}Package`, making it easier to specify
package versions outside of the ones supported by Nixpkgs..

This also includes a change to only build one (preferred) version of each
package (instead of multiple supported versions per package), in order to
minimize the maintenance burden for the Dhall package set.
2020-11-11 11:16:04 +01:00
Gabor Greif 078dc38e35 wasmtime: 0.20.0 -> 0.21.0 2020-11-11 00:59:48 +01:00
Doron Behar 9db44f61a7 rubyMinimal: remove
Due to being unused, and seemingly unusable, added appropriate release
notes.
2020-11-09 16:17:41 +02:00
Doron Behar f59f04352a ruby: Rename removeReferencesToCC flag to !jitSupport
If JIT support is built in to ruby, there's no choice other then to
leave this cc reference as is. removeReferencesToCC didn't do it's job
completely since some time ago. That's why it was practically redundant
- `lib/ruby/${version}/<platform>/rbconfig.rb` still referenced cc.
Removing this reference from
`lib/ruby/${version}/<platform>/rbconfig.rb` as well might lead to
breakage in some Gems that require this feature.

But, if JIT support is not desired, it should be safe enough to
completely remove all cc references, both in
lib/ruby/${version}/<platform>/rbconfig.rb and in $out/lib/libruby.so .
Hence now `rubyMinimal` has JIT support disabled and it has no
references at all to stdenv.cc.
2020-11-09 16:17:39 +02:00
Frederik Rietdijk 20f001c01e Merge master into staging-next 2020-11-09 14:33:52 +01:00
R. RyanTM 4365578bdf groovy: 3.0.3 -> 3.0.6 2020-11-09 12:20:26 +00:00
Alyssa Ross 29038ac0f1
Merge pull request #102272 from bennyandresen/clojure_1.10.1.645-1.10.1.727
clojure: 1.10.1.645 -> 1.10.1.727
2020-11-09 11:58:49 +00:00
Sebastien Braun 6780f45bc1 elixir_1_11: 1.11.1 -> 1.11.2 2020-11-09 11:57:57 +00:00
Sebastien Braun c8e9728927 erlangR23: 23.1 -> 23.1.2 2020-11-09 11:50:30 +00:00
Samuel Gräfenstein 22b73d1282 pkgs/*: add final newline to .nix files 2020-11-09 11:39:28 +00:00
Mario Rodas c2715f436d
Merge pull request #98174 from thiagokokada/fix-dart2native
dart: Fix dart2native by patching all ELFs
2020-11-07 20:10:31 -05:00
Elis Hirwing 4d65677903
Merge pull request #102818 from etu/php-split-to-leafs
php: Refactor to have the different versions as separate files
2020-11-07 07:04:21 +01:00
Elis Hirwing b62b76b78b
php: Refactor to have the different versions as separate files
This should enable easier auto updates of the packages.
2020-11-06 13:48:27 +01:00
Frederik Rietdijk 99fb79ae84 Merge master into staging-next 2020-11-06 12:51:56 +01:00
Jan Tojnar 4b80de5c48
Merge pull request #102543 from lostnet/spidermonkey
spidermonkey: 78.1.0 -> 78.4.0
2020-11-06 11:53:19 +01:00
Frederik Rietdijk 61a04f735a python3.pkgs.pip: 20.1.1 -> 20.2.4
Reproducible builds of pyproject projects using pip is resolved.

Fixes https://github.com/pypa/pip/issues/7808
Fixes https://github.com/NixOS/nixpkgs/issues/81441

The more recent c409f69480 caused trouble
with pyproject troubles and had to be reverted anyway.
https://github.com/NixOS/nixpkgs/pull/102222#issuecomment-722380794

Revert "pythonPackages.pip: make reproducible (#102222)"

This reverts commit c409f69480.

Revert "python3Packages.pip: allow setting reproducible temporary directory via NIX_PIP_INSTALL_TMPDIR"

This reverts commit aedbade43e.
2020-11-05 15:07:21 +01:00
Elis Hirwing caa71a3ee4
Merge pull request #102715 from etu/php74-update
php74: 7.4.11 -> 7.4.12
2020-11-05 13:01:01 +01:00
Elis Hirwing e1548a2da9
Merge pull request #102716 from etu/php73-update
php73: 7.3.23 -> 7.3.24
2020-11-05 13:00:14 +01:00
Jan Tojnar a821be7531
Merge branch 'master' into staging-next 2020-11-05 09:42:47 +01:00
Benjamin Andresen 172cbb8eb7 babashka: 0.0.97 -> 0.2.3
with #99631 and #102693 merged, it's possible to bump the babashka
version again.

However recent versions of babashka depend on java11 features and I
spoke in Slack with the project lead and this java11 dependency will
exist going forward.
2020-11-05 07:11:54 +01:00
Griffin Smith 3341f6c1fc babashka,clj-kondo: Depend on graalvm-ce
Now that we have community builds of graalvm landed in #99631, both
clj-kondo and babashka can depend on those versions of graalvm rather
than the one that requires building from source - this can be built in
hydra, and generally is much easier to build and test.
2020-11-04 09:09:54 -08:00
Frederik Rietdijk 10c57af49c Merge staging-next into staging 2020-11-04 09:28:07 +01:00
Frederik Rietdijk 9e6d7d3c74 Merge master into staging-next 2020-11-04 09:27:42 +01:00
Mario Rodas 1bf0327ef6 racket: 7.8 -> 7.9
https://download.racket-lang.org/v7.9.html
2020-11-03 23:19:43 -08:00
Elis Hirwing c1a2cf890a
php74: 7.4.11 -> 7.4.12 2020-11-04 07:05:49 +01:00
Elis Hirwing fc48e6f932
php73: 7.3.23 -> 7.3.24 2020-11-04 07:05:21 +01:00
Elis Hirwing 18723740d9
Merge pull request #101840 from sikmir/php
php: fix on darwin
2020-11-04 06:59:32 +01:00
Frederik Rietdijk 6ddd6b4914 Revert "Merge pull request #93083 from risicle/ris-cpython-debug"
This increase the closure size by 30 MB.

https://github.com/NixOS/nixpkgs/pull/93083#issuecomment-718025366

This reverts commit 4b340cbbb4, reversing
changes made to 47e499f7a4.
2020-11-03 12:50:05 +01:00
Frederik Rietdijk 470f05cb5d Merge staging-next into staging 2020-11-03 12:06:41 +01:00
Frederik Rietdijk 237966224d Merge master into staging-next 2020-11-03 12:06:06 +01:00
Will Young 8edf9cf5d0 spidermonkey: 78.1.0 -> 78.4.0 2020-11-02 23:30:28 +01:00
Pavol Rusnak 2c931312ce treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
2020-11-01 23:02:24 -08:00
Frederik Rietdijk 83dde6c52c Merge staging-next into staging 2020-11-01 10:11:12 +01:00
Benjamin Andresen 43776fb11e clojure: 1.10.1.645 -> 1.10.1.727 2020-10-31 21:42:24 +01:00
zimbatm c409f69480
pythonPackages.pip: make reproducible (#102222)
The previous attempt wasn't covering all of the bases. It relied on
invoking that pip-install-hook, and didn't apply to pip itself.

The core issue is that the generated .pyc files embed some of the
temporary paths, which are randomly generated. See
https://r13y.com/diff/bf8c3ca3148ebff9ecf41f294cc60b9f209c006d49699e356969ff32d736f1c6-8806a7cca91fdd300e48736bfcd57c4d0b54c1cc2fd61609f35143170862b59c.html

In this new attempt, the approach is to patch the TempFile
implementation directly, so that it creates stable temporary
directories. We also assume that if SOURCE_DATE_EPOCH is set, we are in
a scenario where reproducible builds are desirable and enter that
branch.

See also https://github.com/pypa/pip/issues/7808
2020-10-31 21:24:36 +01:00
Vladimír Čunát dfd3ede68d
Merge branch 'master' into staging-next 2020-10-31 14:30:44 +01:00
Mario Rodas e250fef768
Merge pull request #99920 from ericdallo/add-dart-to-flutter
flutter: Bump and add dart cache to flutter
2020-10-30 08:56:54 -05:00
Eric Dallo bee3fb885f
flutter: Add dart cache to flutter 2020-10-30 09:58:06 -03:00
Vladimír Čunát 0b32140b34
Merge branch 'staging-next' into staging 2020-10-28 18:48:56 +01:00
Vladimír Čunát 31839c352e
Merge branch 'master' into staging-next 2020-10-28 18:48:18 +01:00
zimbatm 7aee32121a
ruby: make the build reproducible
ext/io/console/io-console.gemspec was embedding a timestamp which made
the build not reproducible. Gems respect SOURCE_DATE_EPOCH so it's
enough to just delete that line if it exists.

This file has been fixed in
679a941d05 (diff-d8422f096931c58d4463e2489f62a228b0f24f0492950ba88c8c89a0d741cfe6)
And then ruby regularly merges that gem into their own repository. Ruby
master is fixed but none of the ruby releases have been fixed yet.

lib/ruby/gems/2.6.0/specifications/default/io-console-0.4.7.gemspec now
contains:

    s.date = "1980-01-01"
2020-10-27 14:20:08 +01:00
Nikolay Korotkiy e300f0fd69
php: fix on darwin 2020-10-27 13:24:20 +03:00
Stig Palmquist 8b71dfed92
rakudo: 2020.09 -> 2020.10 2020-10-26 15:32:59 +01:00
Stig Palmquist e0007b1383
nqp: 2020.09 -> 2020.10 2020-10-26 15:32:42 +01:00
Stig Palmquist 50fc95822e
moarvm: 2020.09 -> 2020.10 2020-10-26 15:32:24 +01:00
Vladimír Čunát 89023c38fc
Recover the complicated situation after my bad merge
I made a mistake merge.  Reverting it in c778945806 undid the state
on master, but now I realize it crippled the git merge mechanism.
As the merge contained a mix of commits from `master..staging-next`
and other commits from `staging-next..staging`, it got the
`staging-next` branch into a state that was difficult to recover.

I reconstructed the "desired" state of staging-next tree by:
 - checking out the last commit of the problematic range: 4effe769e2
 - `git rebase -i --preserve-merges a8a018ddc0` - dropping the mistaken
   merge commit and its revert from that range (while keeping
   reapplication from 4effe769e2)
 - merging the last unaffected staging-next commit (803ca85c20)
 - fortunately no other commits have been pushed to staging-next yet
 - applying a diff on staging-next to get it into that state
2020-10-26 09:01:04 +01:00