Commit Graph

4231 Commits

Author SHA1 Message Date
Frederik Rietdijk
ef156f7a8b Merge staging-next into staging 2020-02-27 10:15:34 +01:00
Daiderd Jordan
cc05b65a99
Merge pull request #81114 from cw789/elixir_update
elixir_1_10: 1.10.1 -> 1.10.2
2020-02-27 08:34:05 +01:00
Michael Raskin
b41a7eeb18
Merge pull request #79864 from doronbehar/improve-octave
octave: Use qt5 and other improvements
2020-02-27 06:32:54 +00:00
cw
da473475d5 elixir_1_10: 1.10.1 -> 1.10.2 2020-02-26 13:12:21 +01:00
Doron Behar
3fa64cd5de octave: make optional features declarative in default.nix
Instead of in all-packages.nix .
2020-02-26 10:09:09 +02:00
Matthieu Coudron
006aeb5704 buidLuarocksPackage: add a checkPhase 2020-02-26 01:14:30 +01:00
Matthieu Coudron
6eeb434b33 buildLuarocksPackage: extraVariables is now an attrset 2020-02-26 01:14:29 +01:00
Jörg Thalheim
21baef32d5
Merge pull request #75451 from Izorkin/php-build
Update php build configuration
2020-02-25 18:50:38 +00:00
Matthieu Coudron
7aee5b838b build-lua-package: dont patchShebangs folder
It can be source of trouble for some read-only folders (libluv for
instance) and slow down install.
2020-02-25 17:34:29 +01:00
Profpatsch
8246c35875
Merge pull request #79900 from Gabriel439/gabriel/dhall_packages_2
Add Nixpkgs support for Dhall
2020-02-25 14:16:28 +01:00
R. RyanTM
b5788ccdf3 jruby: 9.2.9.0 -> 9.2.10.0 2020-02-23 13:56:45 -08:00
R. RyanTM
6082646aff jython: 2.7.2b2 -> 2.7.2b3 2020-02-23 13:41:27 -08:00
Konrad Borowski
0302cbf42b icon-lang: fix build 2020-02-23 17:22:13 +01:00
Doron Behar
62d7ad9309 octave: Use sundials_2 in package's signature instead of callPackage 2020-02-22 12:35:06 +02:00
Doron Behar
b631f620d4 octave: Revert "remove old fix for build issue"
This reverts commit 3beeacfd58239bb6e95aa716dedddae17716b6eb.
2020-02-22 12:33:58 +02:00
Doron Behar
d4861e2b18 octave: clean up all build inputs - use qt5 2020-02-22 12:33:58 +02:00
Doron Behar
2b18e72064 octave: mark package as broken if JIT is enabled 2020-02-22 12:33:58 +02:00
Doron Behar
b3a20c4feb octave: remove old fix for build issue 2020-02-22 12:33:58 +02:00
Doron Behar
acf2ad3876 octave: clean up configure flags - remove --enable-dl 2020-02-22 12:33:58 +02:00
Doron Behar
40c2fb8b1e octave: Makeinfo is no longer needed at runtime 2020-02-22 12:33:58 +02:00
Doron Behar
b74fe1a248 octave: order arguments at top and import qt5 libs 2020-02-22 12:33:58 +02:00
Izorkin
ffe90532f7 php: update build configuration 2020-02-22 11:22:05 +03:00
Izorkin
0ee5d55d3b php: use external GD library 2020-02-22 11:22:05 +03:00
Izorkin
ac3c11a980 php: add option pearSupport 2020-02-22 11:22:05 +03:00
Izorkin
a74fb5a1af php: add option ipv6Support 2020-02-22 11:22:05 +03:00
Izorkin
5dae87ec2d php: remove unused configureFlags 2020-02-22 11:22:05 +03:00
Izorkin
82b5cef58d php: drop support libmysqlclient 2020-02-22 11:22:04 +03:00
Nikola Knezevic
6d8539c1d8 perl: Enable threading on darwin
Perl on darwin (and any other sane platform) has a pretty good threading
support, enable it.

As it turns out, we were building non-multithreaded perl on all systems,
since glibc was not part of the stdenv anymore:

    nix-repl> pkgs = import <nixpkgs> {}

    nix-repl> pkgs.stdenv ? glibc
    false

meaning that the comments were incorrect. Thus, clear up the confusion
and remove the misleading comments, while enabling multithreading by
default. The builds will fail on unsupported platforms, and in this case
the only place is the bootstrap, where we already force
non-multithreaded perl.

As a consequence of the above, this change will cause the full rebuild
of stdenv on all platforms, including linux.
2020-02-20 08:35:45 +01:00
Jonathan Ringer
cd97c055a0 python: execute pythonImportsCheckPhase in subshell
Execute in subshell so that the cwd returns back
to the original directory. This is important as
it enables pythonImportsCheck to work with checkPhase
2020-02-19 22:30:50 -08:00
hlolli
ad56672196
cleanup 2020-02-19 23:40:14 +01:00
hlolli
ef712ff2f5
lumo 1.9.0 -> 1.10.1 plus darwin support 2020-02-19 23:16:40 +01:00
Franz Pletz
ade3e99a1d
php74: 7.4.1 -> 7.4.2
https://www.php.net/ChangeLog-7.php#7.4.2
2020-02-19 16:42:40 +01:00
Franz Pletz
b55ded5d8b
php73: 7.3.13 -> 7.3.14
https://www.php.net/ChangeLog-7.php#7.3.14
2020-02-19 16:42:39 +01:00
Franz Pletz
ed8df1d98e
php72: 7.2.26 -> 7.2.27
https://www.php.net/ChangeLog-7.php#7.2.27
2020-02-19 16:42:23 +01:00
Mario Rodas
d539707242
Merge pull request #80115 from marsam/update-racket
racket: 7.5 -> 7.6
2020-02-16 14:26:33 -05:00
Léo Gaspard
9ad73df74b
Merge pull request #80237 from bhipple/remove/wasm-gc
wasm-gc: remove package
2020-02-16 16:20:39 +01:00
Benjamin Hipple
e90602b8f2 wasmer: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-15 22:13:19 -08:00
Benjamin Hipple
ecdff9225b evcxr: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-15 22:09:05 -08:00
Benjamin Hipple
31971254d7 wasm-gc: remove package
The upstream repository has been archived, with a note that this should never be needed:
https://github.com/alexcrichton/wasm-gc

It also happens to have custom patch logic that will fail the newer cargo
verification in #79975
2020-02-15 23:09:32 -05:00
Alexei Robyn
e34db5a568 luajit: Expose build options, enable JIT debug module 2020-02-15 18:40:02 +01:00
Mario Rodas
dd95c8149a
racket: 7.5 -> 7.6
Changelog: https://download.racket-lang.org/v7.6.html
2020-02-14 04:20:00 -05:00
Benjamin Hipple
eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00
Nathan van Doorn
35853d8a1e metamath: 0.178 -> 0.180 2020-02-12 10:36:05 -08:00
R. RyanTM
146e91470b groovy: 2.5.9 -> 3.0.0 2020-02-12 12:34:24 +00:00
Hlöðver Sigurðsson
91801c0b45
clojure 1.10.1.492 -> 1.10.1.507 plus bugfix (#79868) 2020-02-12 11:50:50 +00:00
Gabriel Gonzalez
38f1d70c01 Add Nixpkgs support for Dhall
One of the motivations for this change is the following Discourse
discussion:

https://discourse.dhall-lang.org/t/offline-use-of-prelude/137

Many users have requested Dhall support for "offline" packages
that can be fetched/built/installed using ordinary package
management tools (like Nix) instead of using Dhall's HTTP import system.
I will continue to use the term "offline" to mean Dhall package
builds that do not use Dhall's language support for HTTP imports (and
instead use the package manager's support for HTTP requests, such
as `pkgs.fetchFromGitHub`)

The goal of this change is to document what is the idiomatic way to
implement "offline" Dhall builds by implementing Nixpkgs support
for such builds.  That way when other package management tools ask
me how to package Dhall with their tools I can refer them to how it
is done in Nixpkgs.

This change contains a fully "offline" build for the largest Dhall
package in existence, known as "dhall-packages" (not to be confused
with `dhallPackages`, which is our Nix attribute set containing
Dhall packages).

The trick to implementing offline builds in Dhall is to take
advantage of Dhall's support for semantic integrity checks.  If an
HTTP import is protected by an integrity check and a cached build
product matches the integrity check then the HTTP import is never
resolved and the expression is instead fetched from cache.

By "installing" dependencies in a pre-seeded and isolated cache
we can replace remote HTTP imports with dependencies that have
been built and supplied by Nix instead.

The offline nature of the builds are enforced by compiling the
Haskell interpreter with the `-f-with-http` flag, which disables
the interpreter's support for HTTP imports.  If a user forgets
to supply a necessary dependency as a Nix build product then the
build fails informing them that HTTP imports are disabled.

By default, built packages are "binary distributions", containing
just a cache product and a Dhall expression which can be used to
resolve the corresponding cache product.

Users can also optionally enable a "source distribution" of a package
which already includes the equivalent fully-evaluated Dhall code (for
convenience), but this is disabled by default to keep `/nix/store`
utilization as compact as possible.
2020-02-11 22:02:53 -08:00
Frederik Rietdijk
1a6c3cb06b Merge staging into staging-next 2020-02-11 07:59:53 +01:00
Stig Palmquist
e66cbc5f65 rakudo: 2017.01 -> 2020.01
dependencies:
- moarvm: init at 2020.01.1
- nqp: init at 2020.01
- zef: init 0.8.2

Replaced the rakudo-star distribution with packages for raku, moarvm, nqp and
zef.
2020-02-10 20:34:04 +01:00
Eric Bailey
d723b91223 lfe: 1.2.1 -> 1.3
Add patches to the builder expression, and add those necessary for 1.3.
2020-02-10 20:03:47 +01:00
Eric Bailey
49fe429990 lfe: add message to OTP version assertion 2020-02-10 20:03:47 +01:00
worldofpeace
a41b9c64af
Merge pull request #79717 from filalex77/elixir-1.10.1
elixir_1_10: 1.10.0 -> 1.10.1
2020-02-10 13:30:29 -05:00
zimbatm
bcdc90a3a7 ruby_2_4: remove
According to https://endoflife.software/programming-languages/server-side-scripting/ruby
ruby 2.4 will go end-of-life in march, where the new release of nixpkgs
will be cut. We won't be able to support it for security updates.

Remove all references to ruby_2_4 and add ruby_2_7 instead where
missing.

Mark packages that depend on ruby 2.4 as broken:
* chefdk
* sonic-pi
2020-02-10 13:23:35 -05:00
Oleksii Filonenko
60631eab82 elixir: add filalex77 to maintainers 2020-02-10 16:07:07 +02:00
Oleksii Filonenko
611019c619 elixir_1_10: 1.10.0 -> 1.10.1 2020-02-10 16:05:03 +02:00
Lancelot SIX
d969e70230 octaveHg: drop
This package is broken and unmaintained (no updates since 2017) and lags
behind octave.
2020-02-09 19:24:18 +01:00
Frederik Rietdijk
3846896084 Merge pull request #79293 from NixOS/staging-next
Staging next (with glibc 2.30)
2020-02-09 16:40:16 +01:00
Frederik Rietdijk
03755ed59a Merge master into staging-next 2020-02-09 09:17:51 +01:00
Lancelot SIX
bf059959fa
octave: 5.1.0 -> 5.2.0
See https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00007.html
for release information.
2020-02-08 23:04:07 +01:00
R. RyanTM
3ba4b3f4e0
joker: 0.14.0 -> 0.14.1 2020-02-08 10:07:45 +00:00
Frederik Rietdijk
30f0909e3a Merge master into staging-next 2020-02-07 19:27:52 +01:00
R. RyanTM
50194367cf janet: 1.6.0 -> 1.7.0 2020-02-07 10:54:34 +00:00
Frederik Rietdijk
38cf6eac19 Merge master into staging-next 2020-02-06 19:43:36 +01:00
Frederik Rietdijk
9827e4994b python39: 3.9.0a2 -> 3.9.0a3 2020-02-06 10:25:18 +01:00
Vladimír Čunát
48a997cd76
Merge #66528: glibc: 2.27 -> 2.30 (into staging)
Includes update of stdenv bootstap tools (for three main platforms)
and many package fixes with new glibc.
2020-02-05 13:41:09 +01:00
Maximilian Bosch
ea8ae88f04
Merge branch 'staging' into glibc230 2020-02-01 17:42:03 +01:00
Mario Rodas
8aa3473514
Merge pull request #78842 from r-ryantm/auto-update/supercollider
supercollider: 3.10.3 -> 3.10.4
2020-02-01 04:09:11 -05:00
Vladimír Čunát
31ab6fdec5
Merge #78978: lua5: Fix src URLs
The rebuilds happen because changing the end-part of URL
changes the name of the resulting file as placed into nix store
(those names were wrong/confusing before this change)
2020-02-01 09:52:56 +01:00
Chuck
d13360bfb7 lua5: Fix src URLs
The 672c3c1d2a refactor accidentally
dropped the last version component from the source URLs.  This change
puts its back.

$ for lua in lua5_{1,2,3};do nix-instantiate --json --eval . -A $lua.src.urls | jq -r '.[]' | xargs nix-prefetch-url; done

Before this change:

lua-5.1.tar.gz 1hbjhh211p82vhwqhx4mmhmvhv56060acnka80gbmfdk3q3bjnvz (wrong hash because this is lua 5.1.0.  We want 5.1.5 )
lua-5.2.tar.gz HTTP error 404
lua-5.3.tar.gz HTTP error 404

After this change:

lua-5.1.5.tar.gz 0cskd4w0g6rdm2q8q3i4n1h3j8kylhs3rq8mxwl9vwlmlxbgqh16
lua-5.2.4.tar.gz 0jwznq0l8qg9wh5grwg07b5cy3lzngvl5m2nl1ikp6vqssmf9qmr <-- Desired hash
lua-5.3.5.tar.gz 1b2qn2rv96nmbm6zab4l877bd4zq7wpwm8drwjiy2ih4jqzysbhc

Converted to base16 with `nix-hash --type sha256 --to-base16`:

lua-5.1.5.tar.gz 2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333 <-- Desired hash
lua-5.2.4.tar.gz b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b
lua-5.3.5.tar.gz 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac <-- Desired hash
2020-01-31 18:00:45 -08:00
Peter Simons
05620d62dc maude: update from version 2.7.1 to 3.0 (including full-maude) 2020-01-31 16:25:40 +01:00
Luka Blaskovic
ae2a5a91dd pure: mark as broken 2020-01-30 18:35:30 -05:00
R. RyanTM
cef09ab0bb supercollider: 3.10.3 -> 3.10.4 2020-01-30 11:03:45 +00:00
worldofpeace
e22b99bb90
Merge pull request #78599 from cw789/elixir_update
elixir_1_10: init at 1.10.0
2020-01-28 18:45:01 -05:00
Maximilian Bosch
6b0cd9ad47
Merge branch 'staging' into glibc230
Conflicts:
	pkgs/applications/misc/vit/default.nix
2020-01-28 14:54:51 +01:00
Frederik Rietdijk
dce0ca29d9 Merge master into staging-next 2020-01-28 10:46:13 +01:00
Silvan Mosberger
80a2740991
Merge pull request #78265 from Synthetica9/https-homepages
treewide: fix redirected urls
2020-01-27 15:00:53 +01:00
cw
e3863ab269 elixir_1_10: init at 1.10.0
Set elixir_1_10 as default elixir version.
Removed elixir_1_5 as support has faded out now.
2020-01-27 11:58:02 +01:00
Marek Mahut
ecade10760
Merge pull request #78186 from r-ryantm/auto-update/jython
jython: 2.7.1 -> 2.7.2b2
2020-01-26 13:22:51 +01:00
Mario Rodas
0100a600ff
Merge pull request #78174 from r-ryantm/auto-update/groovy
groovy: 2.5.8 -> 2.5.9
2020-01-24 18:33:02 -05:00
Maximilian Bosch
a605fcabae
evcxr: 0.4.6 -> 0.5.0
https://crates.io/crates/evcxr/0.5.0
2020-01-23 13:16:58 +01:00
Maximilian Bosch
eddfcc32b4
Merge branch 'staging' into glibc230 2020-01-23 11:31:13 +01:00
Mario Rodas
8a726f8516
Merge pull request #77991 from marsam/fix-pypy-darwin
pypy: fix build on darwin
2020-01-22 19:46:49 -05:00
Patrick Hilhorst
593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00
R. RyanTM
8f8c833bc1 jython: 2.7.1 -> 2.7.2b2 2020-01-21 17:04:55 +00:00
R. RyanTM
48ba125302 groovy: 2.5.8 -> 2.5.9 2020-01-21 15:34:14 +00:00
volth
5540b2e7b4
perl.withPackages: respect $PERL5LIB
perl.withPackages did not allow to add more packages using $PERL5LIB
2020-01-20 18:11:00 +00:00
Ivan Kozik
76ab11518d treewide: Remove myself from maintainers on some packages (#78027) 2020-01-19 12:18:34 -05:00
Frederik Rietdijk
bcd8c6b8dc Merge master into staging-next 2020-01-17 17:08:16 +01:00
Oleksii Filonenko
cd99b82d8a wasmer: init at 0.13.0 2020-01-16 12:29:04 -08:00
Anders Kaseorg
3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Frederik Rietdijk
bc18cc72dd
Merge pull request #77610 from LnL7/darwin-stdenv-python3
darwin-stdenv: bootstrap with python3
2020-01-15 09:24:57 +01:00
Frederik Rietdijk
eba1f79418 pythonPackages.venvShellHook: init
This is a hook that loads a virtualenv from the specified `venvDir`
location. If the virtualenv does not exist, it is created.
2020-01-14 22:36:21 +01:00
Luka Blaskovic
76d90cf1f5 cpython: fetch darwin-libutil.patch to nixpkgs
python3 is now required buildInput for glibc>=2.29.
Remove fetchpatch to solve infinite recursion in
glibc bootstrap process.
2020-01-14 08:26:58 +00:00
Daiderd Jordan
6328518e98
stdenv: bootstrap darwin with python3
- Replaced python override from the final stdenv, instead we
  propagate our bootstrap python to stage4 and override both
  CF and xnu to use it.

- Removed CF argument from python interpreters, this is redundant
  since it's not overidden anymore.

- Inherit CF from stage4, making it the same as the stdenv.
2020-01-13 11:34:36 +01:00
Jörg Thalheim
7aa6616d00
perl: fix configure phase for Aarch32 (#76922)
In "perl: fuse configureFlags" [1] the effects of the preConfigure
phase were merged into configureFlags. After this change values with
spaces do not reach the configure script intact.

The only flag this affects is `ldflags` for Aarch32 and Mips, and perl
builds without it on armv7l-linux so it's probably no longer required
on any platform.

Fixes:

    configuring
    configure flags: -de -Dcc=cc <...> -Dldflags=\"-lm -lrt\"
    ./Configure: eval: line 1677: unexpected EOF while looking for matching `"'
    ./Configure: eval: line 1678: syntax error: unexpected end of file
    Configure: unknown option -lrt"

[1] 3b50d0462a
2020-01-13 10:06:45 +00:00
R. RyanTM
174190dae1
joker: 0.12.9 -> 0.14.0 2020-01-10 19:39:34 -05:00
Alyssa Ross
163618988f
ruby: remove references to CC by default
This makes RbConfig["CC"] return an invalid path, but I hope nothing
is depending on that anyway...
2020-01-09 15:54:59 +00:00
adisbladis
2d6f1ff4dd
python: Add support for installing Python eggs 2020-01-08 13:59:04 +00:00
Michael Raskin
a280d83949
Merge pull request #77181 from r-ryantm/auto-update/picoLisp
picolisp: 19.6 -> 19.12
2020-01-08 10:01:23 +00:00
Joachim Breitner
246ba7bb0d wasmtime: 20191111 -> v0.8.0 2020-01-07 17:36:29 +01:00
R. RyanTM
1edb9dc658 picolisp: 19.6 -> 19.12 2020-01-06 22:25:42 -08:00
R. RyanTM
7e9851475a janet: 1.5.1 -> 1.6.0 2020-01-06 09:50:36 -08:00
Andrew Childs
68317c736e perl: fix configure phase for Aarch32
In "perl: fuse configureFlags" [1] the effects of the preConfigure
phase were merged into configureFlags. After this change values with
spaces do not reach the configure script intact.

The only flag this affects is `ldflags` for Aarch32 and Mips, and perl
builds without it on armv7l-linux so it's probably no longer required
on any platform.

Fixes:

    configuring
    configure flags: -de -Dcc=cc <...> -Dldflags=\"-lm -lrt\"
    ./Configure: eval: line 1677: unexpected EOF while looking for matching `"'
    ./Configure: eval: line 1678: syntax error: unexpected end of file
    Configure: unknown option -lrt"

[1] 3b50d0462a
2020-01-04 09:51:10 +09:00
Stig Palmquist
76bd004a4b micropython: init at 1.12 2020-01-03 10:57:55 +01:00
Frederik Rietdijk
f08e3e38d4 Merge master into staging-next 2020-01-02 21:41:13 +01:00
Austin Seipp
091ddf2650
quickjs: 2019-10-27 -> 2019-12-21
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-01-01 19:31:18 -06:00
Maximilian Bosch
5065378316
evcxr: 0.4.5 -> 0.4.6
https://github.com/google/evcxr/releases/tag/v0.4.6
2020-01-01 21:13:45 +01:00
Frederik Rietdijk
555037a667 Merge master into staging-next 2019-12-31 16:35:53 +01:00
John Ericson
cfd013813e
Merge pull request #74090 from obsidiansystems/ghcjs-cross-without-cc
stdenv, haskell: bonafied GHCJS cross compilation without stdenv.cc
2019-12-30 16:40:43 -08:00
Robin Gloster
760e23136a
treewide: *inputs are lists 2019-12-31 01:09:25 +01:00
Robin Gloster
9126911ba5
ruby: installFlags is a list 2019-12-31 00:50:40 +01:00
Robin Gloster
755db0b689
treewide: installTargets is a list 2019-12-31 00:25:26 +01:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Robin Gloster
f9f46dc327
treewide: NIX_*_FLAGS -> string 2019-12-31 00:15:46 +01:00
Robin Gloster
981ae25113
treewide: NIX_*_COMPILE -> string 2019-12-31 00:07:21 +01:00
Jan Tojnar
f4e74edd8c python.pkgs.wrapPython: get rid of warning
When `makeWrapperArgs` variable is not set, `declare -p makeWrapperArgs`
will return with 1 and print an error message to stderr.

I did not handle the non-existence case in b0633406cb
because I thought `mk-python-derivation` will always define `makeWrapperArgs`
but `wrapProgram` can be called independently. And even with `mk-python-derivation`,
`makeWrappers` will not be set unless explicitly declared in the derivation
because of https://github.com/NixOS/nix/issues/1461.

I was lead to believe that because the builds were succeeding and I confirmed
that the mechanism fails when the variable is not defined and `-o nounset` is enabled.
It appears that `wrapPython` setup hook is not running under `-o nounset`, though,
invaldating the assumption.

Now we are checking that the variable exists before checking its type, which
will get rid of the warning and also prevent future error when `-o nounset`
is enabled in the setup hook.

For more information, see the discussion at
https://github.com/NixOS/nixpkgs/commit/a6bb2ede232940a96150da7207a3ecd15eb6328
2019-12-30 16:46:55 +01:00
Alyssa Ross
a08e5665fa rubygems: fix for Ruby with no openssl
This fixes the rubyMinimal package.
2019-12-30 16:11:23 +01:00
Robin Gloster
65395a7105
treewide: installTargets is a list 2019-12-30 13:29:27 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Robin Gloster
3b50d0462a
perl: fuse configureFlags 2019-12-30 11:13:36 +01:00
Jan Tojnar
a69e309794
Merge branch 'staging-next' into staging 2019-12-30 05:24:03 +01:00
Jan Tojnar
480fc1856a
Merge branch 'master' into staging-next 2019-12-30 05:22:23 +01:00
Robin Gloster
ac8eaa8507
treewide: fix *Flags 2019-12-30 04:50:37 +01:00
Frederik Rietdijk
5aed91512d Merge staging-next into staging 2019-12-29 10:20:05 +01:00
Frederik Rietdijk
fb66525297 Merge master into staging-next 2019-12-29 10:19:39 +01:00
Jan Tojnar
a6bb2ede23
python.pkgs.wrapPython: fix string makeWrapperArgs
Bash takes an assignment of a string to an array variable:

local -a user_args
user_args="(foo bar)"

to mean appending the string to the array, not parsing the string into
an array as is the case when on the same line as the declaration:

local -a user_args="(foo bar)"

b0633406cb extracted the declaration before
the newly branched code block, causing string makeWrapperArgs being added
to the array verbatim.

Since local is function scoped, it does not matter if we move it inside
each of the branches so we fix it this way.
2019-12-28 22:23:36 +01:00
worldofpeace
4a2621da53
Merge pull request #76283 from jtojnar/python-mwa
python.pkgs.wrapPython: fix makeWrapperArgs
2019-12-26 19:21:37 -05:00
Mario Rodas
76200c4284 ruby_2_7: init at 2.7.0
Release notes: https://www.ruby-lang.org/en/news/2019/12/25/ruby-2-7-0-released/
2019-12-25 14:24:03 +00:00
Mario Rodas
298010982b ruby: rubygems 3.0.6 -> 3.1.2
Changelog: https://blog.rubygems.org/2019/12/20/3.1.2-released.html
2019-12-25 14:24:03 +00:00
Profpatsch
7d4c1ae7f1 rubyMinimal: ruby with all options disabled by default
Similar to `gitMinimal` or `pythonMinimal`, this is useful for scripts
which don’t use anything but the standard library and want a small
footprint.
2019-12-25 13:59:42 +01:00
Profpatsch
80c07f8aaf ruby: add removeReferenceToCC package option
Reduces the runtime closure by ~200MB if enabled.
2019-12-25 13:59:42 +01:00
Jan Tojnar
4bbc6cc66f
Merge branch 'staging-next' into staging 2019-12-25 05:18:52 +01:00
Jan Tojnar
ca39dd3a8a
Merge branch 'master' into staging-next 2019-12-25 05:15:06 +01:00
Jan Tojnar
b0633406cb
python.pkgs.wrapPython: fix makeWrapperArgs
When `makeWrapperArgs` is a Bash array, we only passed the first
item to `wrapProgram`. We need to use `"${makeWrapperArgs[@]}"`
to extract all the items. But that breaks the common string case so
we need to handle that case separately.
2019-12-23 18:02:44 +01:00
worldofpeace
9ce10d7d22 erlang: build on aarch64-linux
I've built several versions without issue.
2019-12-22 21:27:52 -05:00
Markus Kowalewski
7d44826298
php: 7.2.25 -> 7.2.26 2019-12-21 16:49:28 +01:00
Markus Kowalewski
9e4716b1f5
php: 7.4.0 -> 7.4.1 2019-12-21 14:05:13 +01:00
Markus Kowalewski
10060abfc0
php: 7.3.12 -> 7.3.13 2019-12-21 14:04:58 +01:00
Mario Rodas
039a5bd71b
Merge pull request #75947 from eraserhd/staging-tcl-symlink-fix
tcl: fix dangling symlink
2019-12-20 18:39:03 -05:00
Frederik Rietdijk
ad733b5505 python37: 3.7.5 -> 3.7.6 2019-12-19 17:37:02 +01:00
Frederik Rietdijk
c0c65fe83c python39: 3.9.0a1 -> 3.9.0a2 2019-12-19 17:36:21 +01:00
Frederik Rietdijk
2012dd5734 python38: 3.8.0 -> 3.8.1 2019-12-19 17:36:21 +01:00
Frederik Rietdijk
5796029c5d python36: 3.6.9 -> 3.6.10 2019-12-19 17:36:20 +01:00
Jason Felice
41a48b5895 tcl: fix dangling symlink 2019-12-19 09:46:36 -05:00
Frederik Rietdijk
39037a3431 Merge staging-next into staging 2019-12-19 09:21:24 +01:00
Mario Rodas
56a206efe9
gauche: 0.9.8 -> 0.9.9
Release notes: https://practical-scheme.net/gauche/gmemo/?Release%200.9.9
2019-12-16 20:20:20 -05:00
Andreas Rammhold
8185415b55
Merge pull request #75763 from gilligan/manylinux-interp
python: remove _manylinux.py
2019-12-17 00:01:58 +01:00
Andreas Rammhold
e9f522eee1
python: remove _manylinux.py
This will turn manylinux support back on by default.

PIP will now do runtime checks against the compatible glibc version to
determine if the current interpreter is compatible with a given
manylinux specification. However it will not check if any of the
required libraries are present.

The motivation here is that we want to support building python packages
with wheels that require manylinux support. There is no real change for
users of source builds as they are still buildings packages from source.

The real noticeable(?) change is that impure usages (e.g. running `pip
install package`) will install manylinux packages that previously
refused to install.
Previously we did claim that we were not compatible with manylinux and
thus they wouldn't be installed at all.

Now impure users will have basically the same situation as before: If
you require some wheel only package it didn't work before and will not
properly work now. Now the program will fail during runtime vs during
installation time.

I think it is a reasonable trade-off since it allows us to install
manylinux packages with nix expressions and enables tools like
poetry2nix.

This should be a net win for users as it allows wheels, that we
previously couldn't really support, to be used.
2019-12-16 16:37:16 +01:00
Jonathan Ringer
4b1c34cac6 gtk-server: 2.3.1 -> 2.4.5
Also bumped gtk version from gtk2 to gtk3
2019-12-15 13:31:53 -08:00
Jan Tojnar
429561978b
Merge branch 'master' into staging-next 2019-12-14 23:09:06 +01:00
Michael Raskin
dd3ddb3e6d
Merge pull request #70772 from tmplt/octave-gl2ps
octave: build with gl2ps
2019-12-13 21:24:23 +00:00
Frederik Rietdijk
dfdf1597a7 Merge master into staging-next 2019-12-13 11:43:39 +01:00
Tobias Pflug
418ad571c3 Fix manylinux packages
Make sure lib outputs are used where applicable.
2019-12-13 11:40:44 +01:00
José Luis Lafuente
44fe29a624 clojure: 1.10.1.489 -> 1.10.1.492
Install again default deps.edn. deps.edn was embedded in clojure jar,
but that change was reverted, see
a34969513f

Update derivation to produce only one output. Multiple outputs was
introduced by #35140, but I don't think is necessary anymore.
2019-12-11 13:33:35 +01:00
Frederik Rietdijk
f3618342ec Merge staging-next into staging 2019-12-10 19:01:27 +01:00
Elis Hirwing
9d71e7f1fb
php74: Enable zip support
This fixes #75427
2019-12-10 17:49:19 +01:00
R. RyanTM
ce8de3bc05 duktape: 2.4.0 -> 2.5.0 2019-12-08 21:47:09 +01:00
Michael Raskin
06346a12a0
Merge branch 'master' into octave-gl2ps 2019-12-08 18:09:08 +00:00
Izorkin
1b903aa70e php73: 7.3.11 -> 7.3.12 2019-12-07 12:28:19 +03:00
Izorkin
c56f044aa4 php72: 7.2.24 -> 7.2.25 2019-12-07 12:28:19 +03:00
Mario Rodas
f00e169aed
Merge pull request #74968 from marsam/update-racket
racket: 7.4 -> 7.5
2019-12-05 05:46:25 -05:00
Frederik Rietdijk
6530535b20
manylinux packages for Python
This adds three lists with manylinux dependencies as well as three
packages that include all the manylinux dependencies.
2019-12-05 09:56:20 +00:00
Frederik Rietdijk
353ec3f3a8
Merge pull request #73491 from Izorkin/unit
unit: 1.12.0 -> 1.13.0
2019-12-05 10:25:54 +01:00
Frederik Rietdijk
51ef7c3e49 Merge master into staging-next 2019-12-05 09:14:08 +01:00
Aaron Andersen
4b995ddfe7
Merge pull request #73883 from etu/init-php74
php74: init at 7.4.0
2019-12-04 18:18:32 -05:00
Mario Rodas
afcf6d212b
racket: 7.4 -> 7.5
Release Announcement: https://download.racket-lang.org/v7.5.html
2019-12-04 04:20:00 -05:00
Mario Rodas
49c63e498c
treewide: remove empty inherits
These empty inherits were accidentally introduced by https://github.com/NixOS/nixpkgs/pull/66585
2019-12-04 04:20:00 -05:00
Jan Tojnar
30fae2883e
Merge branch 'master' into staging-next 2019-12-03 16:51:48 +01:00
Frederik Rietdijk
92d2153e6c pythonInterpreters: remove unnecessary rec 2019-12-02 20:10:51 +01:00
Elis Hirwing
a4cf20c68f
php74: Go through configuration options 2019-12-01 09:50:51 +01:00
Jan Tojnar
a4bbc84e16
Merge branch 'staging-next' into staging 2019-12-01 01:44:03 +01:00
R. RyanTM
eac9b43a82 jimtcl: 0.78 -> 0.79
* jimtcl: 0.78 -> 0.79 (#74408)

* jimtcl: enable new json extension and run tests
+ build shared to reduce closure size
2019-12-01 00:13:37 +01:00
Frederik Rietdijk
9f84415541 Merge staging-next into staging 2019-11-30 08:58:01 +01:00
Frederik Rietdijk
d14baf7747 Merge master into staging-next 2019-11-30 08:57:28 +01:00
Ryan Mulligan
b3b7a482bc
Merge pull request #74413 from r-ryantm/auto-update/janet
janet: 1.4.0 -> 1.5.1
2019-11-28 06:20:17 -08:00
Jonathan Ringer
0c1c18ca44
Merge branch 'master' into staging-next 2019-11-27 22:57:50 -08:00
R. RyanTM
5df841fce3 janet: 1.4.0 -> 1.5.1 2019-11-27 18:51:25 -08:00
Elis Hirwing
80b12a60df
php74: 7.4.0RC6 -> 7.4.0
Changelog: https://www.php.net/ChangeLog-7.php#7.4.0
2019-11-27 11:13:14 +01:00
John Ericson
f191360ad0 Merge remote-tracking branch 'upstream/staging-next' into staging 2019-11-25 15:59:05 -05:00
Frederik Rietdijk
06a054e6eb Merge master into staging-next 2019-11-25 21:51:57 +01:00
Joachim Breitner
9ca11c90f3 The github repo has moved 2019-11-25 12:04:40 +01:00
Joachim Breitner
3ce8c48ad7 wasmtime: 20191018 -> 20191111
With this bump, we pull in support for building on darwin, i.e.
https://github.com/bytecodealliance/wasmtime/issues/516
2019-11-25 10:53:56 +01:00
Herwig Hochleitner
727740b56e clojure: 1.10.1.469 -> 1.10.1.489 2019-11-25 04:32:45 +01:00
John Ericson
6bc456c91c Merge remote-tracking branch 'upstream/master' into ghcjs-cross-without-cc 2019-11-25 00:23:07 +00:00
John Ericson
63bd851e95 stdenv: Introduce hasCC attribute
Before, we'd always use `cc = null`, and check for that. The problem is
this breaks for cross compilation to platforms that don't support a C
compiler.

It's a very subtle issue. One might think there is no problem because we
have `stdenvNoCC`, and presumably one would only build derivations that
use that. The problem is that one still wants to use tools at build-time
that are themselves built with a C compiler, and those are gotten via
"splicing". The runtime version of those deps will explode, but the
build time / `buildPackages` versions of those deps will be fine, and
splicing attempts to work this by using `builtins.tryEval` to filter out
any broken "higher priority" packages (runtime is the default and
highest priority) so that both `foo` and `foo.nativeDrv` works.

However, `tryEval` only catches certain evaluation failures (e.g.
exceptions), and not arbitrary failures (such as `cc.attr` when `cc` is
null). This means `tryEval` fails to let us use our build time deps, and
everything comes apart.

The right solution is, as usually, to get rid of splicing. Or, baring
that, to make it so `foo` never works and one has to explicitly do
`foo.*`. But that is a much larger change, and certaily one unsuitable
to be backported to stable.

Given that, we instead make an exception-throwing `cc` attribute, and
create a `hasCC` attribute for those derivations which wish to
condtionally use a C compiler: instead of doing `stdenv.cc or null ==
null` or something similar, one does `stdenv.hasCC`. This allows quering
without "tripping" the exception, while also allowing `tryEval` to work.

No platform without a C compiler is yet wired up by default. That will
be done in a following commit.
2019-11-25 00:12:38 +00:00
John Ericson
4f1261134e Merge remote-tracking branch 'upstream/master' into staging 2019-11-24 18:33:54 +00:00
John Ericson
d0d5136cce Merge remote-tracking branch 'upstream/master' into wrapper-pname-support 2019-11-24 17:25:07 +00:00
John Ericson
9b090ccbca treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and
release-19.09.
2019-11-24 17:22:28 +00:00
Frederik Rietdijk
da8e001b12
Merge pull request #73954 from volth/cpan2nix-2019-11-23
perl: 5.30.0 -> 5.30.1
2019-11-24 11:11:56 +01:00
Izorkin
7d0fcb8acc ruby: build with soname tag 2019-11-24 12:55:23 +03:00
Frederik Rietdijk
1d18c5a0fe Merge staging-next into staging 2019-11-24 10:13:31 +01:00
John Ericson
505dcb3b73
Merge pull request #73946 from Ericson2314/fix-lua-env
lua wrapper: Fix bash error
2019-11-23 12:38:44 -05:00
volth
83bacb1ca7 perl: 5.30.0 -> 5.30.1 2019-11-23 12:39:54 +00:00
John Ericson
a610a38cb5 lua wrapper: Fix bash error
Recently, we made it harder for external code to use some stdenv-only bash
variables by unsetting them in [1] But Lua's `withPackages` was sourcing some
setup hooks in [2], which required those bash variables.

I say great! We caught something bad: Lua should use normal dependencies, even
though that is harder with `buildEnv`. Now it works that way, and everything is
fine.

[1]: 9d3911f806/pkgs/stdenv/generic/setup.sh (L574-L578)

[2]: 9d3911f806/pkgs/development/interpreters/lua-5/wrapper.nix (L23-L27)

CC @matthewbauer
2019-11-22 19:47:27 -05:00
Frederik Rietdijk
182571cdc3 update-python-libraries: ignore pyproject 2019-11-22 08:37:03 +01:00
c0bw3b
0afae5c14b Treewide: fix more URL permanent redirects
Related issue: #60004
Previous PR: #73478
2019-11-21 15:37:34 -08:00
Elis Hirwing
fdc094f69e
php74: init at 7.4.0RC6 2019-11-21 23:22:54 +01:00
Frederik Rietdijk
1939a97811 python3: add pythonForBuild as parameter, fixes python3Minimal
`pythonForBuild` exists for cross-compilation. When one overrides
python, one needs to ensure pythonForBuild matches.
2019-11-21 22:00:23 +01:00
Frederik Rietdijk
ad3ef645b0 python3Minimal: 3.7.4 -> 3.7.5
Base it on python37 so we ensure the package remains up to date.
2019-11-21 15:34:37 +01:00
Christian Kauhaus
9a1e9258f6 lua-5.3: add patch for CVE-2019-6706
Taken from
http://launchpadlibrarian.net/417853567/lua5.3_5.3.3-1_5.3.3-1ubuntu0.18.10.1.diff.gz
and adapted to our needs.

Re #54799
2019-11-21 11:10:45 +01:00
Frederik Rietdijk
10d0c68a9b Merge staging-next into staging 2019-11-20 10:02:21 +01:00