Commit Graph

2569 Commits

Author SHA1 Message Date
Frederik Rietdijk
1267b155c4 Merge pull request #25916 from FRidh/reproducible
Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook
2017-05-22 10:20:04 +02:00
Robin Gloster
d0ffb23442
php70: 7.0.16 -> 7.0.19
fixes build with openssl 1.1
2017-05-20 13:22:46 +02:00
Frederik Rietdijk
acd32a4caf Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook
The Python interpreters are patched so they can build .pyc bytecode free
of certain indeterminism.

When building Python packages we currently set

```
compiling python files.
in nix store.
DETERMINISTIC_BUILD=1;
PYTHONHASHSEED = 0;
```

Instead if setting these environment variables in the function that
builds the package, this commit sets the variables instead in the Python
setup hook. That way, whenever Python is included in a derivation, these
variables are set.

See also the issue https://github.com/NixOS/nixpkgs/issues/25707.
2017-05-19 16:28:11 +02:00
mimadrid
4187d31ab7
elixir: 1.4.2 -> 1.4.4 2017-05-15 20:10:45 +02:00
Vladimír Čunát
d7501b986a
luajit: 2.1.0-beta2 -> 2.1.0-beta3
The removal of `luaL_reg` alias caused lots of breakage.
Only sysdig and knot-resolver needed (also) other changes.
2017-05-02 14:00:45 +02:00
Vladimír Čunát
9ad1aaae53
lua5_{sec,1_sockets,expat}: convert to aliases
There's nothing better in these expressions than what we have in
lua-packages.nix
2017-05-02 14:00:44 +02:00
Michael Raskin
6008ede40d Merge pull request #24648 from asppsa/php-config-fix2
php: fix php-config header file paths
2017-05-01 11:05:43 +02:00
Alastair Pharo
b330329768 php: fix php-config header file paths
Split outputs mean that the "include" folder from PHP gets placed into a
"dev" derivation. However php-config is not aware of this, which means
that compiling extensions with phpize fails with an error about being
unable to find header files (see #24357, #24420).  This fixes that by:

1. passing the `--includedir` flag to `configure` so that `php-config`
   gives the correct paths.

2. moving the `phpize` and `php-config` scripts and man pages to the
   dev derivation, to prevent cylic references.

3. ensuring that the `configure` script arguments are stripped from
   all binaries, including `php-embed`, to prevent cyclic references.
2017-04-24 16:45:20 +10:00
Frederik Rietdijk
4fc9b1852a Merge remote-tracking branch 'upstream/master' into HEAD 2017-04-23 11:26:47 +02:00
Daiderd Jordan
004ecac47b
perl: add patch for sw_vers on darwin
Fixes #25090
2017-04-22 15:29:46 +02:00
Tomas Hlavaty
bcd349d70d picolisp: 16.6 -> 16.12 2017-04-21 00:25:23 +02:00
Frederik Rietdijk
c275158f06 python36: 3.6.0 -> 3.6.1 2017-04-18 13:14:40 +02:00
Maksim Bronsky
f78c032934
perl: init 5.24.1 and set as default perl 2017-04-18 01:24:44 +02:00
Maksim Bronsky
d6b42b4008
perl: 5.22.2 -> 5.22.3 2017-04-18 01:24:39 +02:00
Frederik Rietdijk
5c8ffe0311 Python 3.x: do not regenerate _sysconfigdata
This commit fixes several issues:

- as reported in https://github.com/NixOS/nixpkgs/issues/24924 it was
possible that the file _sysconfigdata.pyc was generated after the actual
build of the CPython interpreter. We forgot to regenerate that file
during the build. This is now fixed

- the expression of the 3.3 interpreter now also includes some of the
determinism patches even though the output isn't yet reproducible. The
reason for adding them is that this makes the expressions of the
different interpreters more similar.

- references to -dev packages are now also removed in the 3.6 package,
thereby reducing its closure size
2017-04-16 10:41:35 +02:00
Alastair Pharo
813eb41cf6 octaveHg: add package 2017-04-09 21:54:14 +10:00
Alastair Pharo
250ddfe1a2 octave: add runtime texinfo dependency
makeinfo (provided by the texinfo package) is used by the "help"
command in Octave to display info about functions, etc.  By default,
Octave looks for "makeinfo" in the PATH, rather than specifying the
location of the executable.  This results in Nix not being aware that
makeinfo is required at runtime (so unless you happen have makeinfo
available from your path, "help" won't work).

This patch fixes that by setting the path to makeinfo in Octave,
thereby creating a runtime dependency on texinfo.
2017-04-09 16:42:56 +10:00
Vladimír Čunát
26766f0e57
Merge branch 'staging'
There are a few dozen new failures on Darwin, probably related to
updates of stdenv's llvm and/or pkgconfig.
Still the total number of successes increases.
2017-04-08 11:02:36 +02:00
Andrew R. M
106214a7c9 hy: 0.11.1 -> 0.12.1
Fixed build inputs up a little while bumping version
2017-04-07 23:15:16 -04:00
Vladimír Čunát
c6bc4cfdbc
Merge branch 'master' into staging 2017-04-06 00:16:59 +02:00
Tim Steinbach
3535a6bf3c
ruby: 2.0.0-p647 -> 2.0.0-p648 2017-04-03 15:40:26 -04:00
Tim Steinbach
ec2c469230
ruby: 2.2.5 -> 2.2.7 2017-04-03 15:33:26 -04:00
Tim Steinbach
482566939e
ruby: 2.3.3 -> 2.3.4 2017-04-03 15:28:38 -04:00
Tim Steinbach
bc45ee50c4
ruby: 2.4.0 -> 2.4.1 2017-04-03 15:23:18 -04:00
Johannes Bornhold
249b34aadc
python: Move catch_conflicts.py into subdirectory (#23600)
Python does add the script's directory into "sys.path". For the case of
"catch_conflicts.py" this means "/nix/store" is added to "sys.path". This can
result in very long delays if the store contains a lot of entries.

(moved from master commit 76213d102c)
2017-04-01 12:22:36 +02:00
Vladimír Čunát
46ea770b2b Revert "python: Move catch_conflicts.py into subdirectory (#23600)" (#24528)
This reverts commit 76213d102c.
2017-04-01 12:20:31 +02:00
Johannes Bornhold
76213d102c python: Move catch_conflicts.py into subdirectory (#23600)
Python does add the script's directory into "sys.path". For the case of
"catch_conflicts.py" this means "/nix/store" is added to "sys.path". This can
result in very long delays if the store contains a lot of entries.
2017-04-01 12:19:53 +02:00
Lancelot SIX
0848d1c2e1 gnuapl: 1.6 -> 1.7
See http://lists.gnu.org/archive/html/info-gnu/2017-03/msg00007.html
for release announcement.
2017-03-31 07:33:53 +02:00
Robin Gloster
84db2dffe9
nix-exec: fix build 2017-03-30 16:23:34 +02:00
Victor Calvert
2fcc32f42b groovy: 2.4.8 -> 2.4.10 2017-03-26 11:18:37 -04:00
Thomas Tuegel
f87d3d6f80
supercollider: pin to Qt 5.6 2017-03-25 08:49:40 -05:00
Anthony Cowley
506a5df014 octave: fix on darwin
This change is required on darwin, but did not make it into the 4.2.1
release of Octave. It is a very small change, and a comment on the
patch includes a link for more information and a note that it should
be removed from subsequent releases.
2017-03-22 10:49:10 -04:00
Robin Gloster
9c730bc40b
clooj: fix url 2017-03-21 11:00:49 +01:00
Eelco Dolstra
b751036a74
php: Add a dev output
This reduces the closure size from 438 to 174 MiB.
2017-03-20 17:31:37 +01:00
Eelco Dolstra
3ff08d6f13
php: Strip modules
This reduces the closure size from 566 to 438 MiB.
2017-03-20 17:31:31 +01:00
Dan Peebles
de0849d180 erlangR14: delete unreferenced ancient file 2017-03-19 14:59:58 -04:00
Dan Peebles
5a81c66906 erlang: patch all versions to work with clang 4 2017-03-19 14:59:58 -04:00
Michael Raskin
0cf93fda07 guile_2_0: init at 2.0.13
Reinstate guile 2.0.x. Use it for autogen
2017-03-19 20:05:14 +01:00
Rahul Gopinath
5498dd6364 guile: 2.0 -> 2.2 2017-03-19 10:47:22 -07:00
Eric Bailey
a91afef89e
erlangR19: update maintainers
Use the list of direct committers:
https://github.com/NixOS/nixpkgs/commits/master/pkgs/development/interpreters/erlang/R19.nix

Originally, I just copied and pasted from R18.nix, I think.
2017-03-18 00:36:57 -05:00
Eric Bailey
05b1f8276b
erlangR19: 19.2.3 -> 19.3 2017-03-18 00:24:18 -05:00
Michael Raskin
8388cb8bff renpy: 6.17.6 -> 6.99.12.4; still a strange mistake on launch 2017-03-17 14:14:38 +01:00
Linus Heckemann
9b62e41c1e renpy: mark as broken 2017-03-17 10:07:12 +00:00
Christopher League
cfc7a1877a clips: init at 6.30
CLIPS is a language for building expert systems.
2017-03-16 00:05:02 +02:00
Andrzej Trzaska
162845d5b1 Use gem 2.6.10 (#23902) 2017-03-15 14:55:45 +00:00
Lluís Batlle i Rossell
46c9eac980 guile: enable parallel building
civodul today on irc said that 2.0.13 likely has the parallel building
issue fixed (case equal-or-over 8 cores). Let's try.
2017-03-13 23:38:52 +01:00
Michael Raskin
a77380b34c Merge pull request #23780 from asppsa/pure-0.66
pure: 0.64 -> 0.66
2017-03-13 10:56:08 +01:00
Michael Raskin
54b7c3b63f clisp-git: update to the upstream fix of 32-bit builds
The current exact tip fails to build on x86_64, there probably is a
fresher safe commit, but I haven't try bisecting.
2017-03-13 00:00:13 +01:00
Vladimír Čunát
848423f223
clisp-tip: make the build more reliable
Hydra shows it sometimes fails without autoconf:
http://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.clisp-tip.x86_64-linux
I can't say I understand why this happened.
2017-03-12 23:07:55 +01:00
Alastair Pharo
2188e0f61f pure: 0.64 -> 0.66 2017-03-12 12:22:52 +11:00
Vladimír Čunát
d56e596da7
lua-{5.2,5.3}: fixup dylib symlink names on Darwin
Hopefully; I didn't test it.
https://github.com/NixOS/nixpkgs/pull/6311#issuecomment-285521028
2017-03-10 00:54:32 +01:00
Henry Till
d95f21f6a1 racket: add readline support 2017-03-07 15:08:02 -05:00
Tim Digel
0b2502a284 elixir: 1.4.0 -> 1.4.2 2017-03-07 11:50:32 +01:00
Henry Till
6ed6731e36 racket: disable i686 builds
ref #23253
2017-03-05 14:51:48 -05:00
Vladimír Čunát
2839b101f9
Merge commit older staging
No new failures on Hydra.
2017-03-05 08:00:42 +01:00
Domen Kožar
fb40889ddb
mk-python-derivation: remove me as maintainer
The time has come ...
2017-03-03 14:37:28 +01:00
Vladimír Čunát
5060f22839
Merge branch 'master' into staging 2017-03-03 14:20:15 +01:00
Frederik Rietdijk
a1f6b8b5fc Python 3.6 fixup expat and libffi, fixes #23406 2017-03-03 07:46:52 +01:00
Daiderd Jordan
423bab129a Merge pull request #23330 from yurrriq/update/pkgs/development/interpreters/erlang/R19
erlangR19: 19.2 -> 19.2.3
2017-03-02 21:07:59 +01:00
Frederik Rietdijk
b588ed95b9 Python 3.4: fixup expat and libffi, fixes #23325 2017-03-02 13:17:40 +01:00
Eric Bailey
6e9133fec1
erlangR19: 19.2 -> 19.2.3
This fixes dialyzer for me.

- http://erlang.org/pipermail/erlang-bugs/2017-January/005213.html
- e27119948f
2017-03-01 05:52:23 -06:00
Vladimír Čunát
b43614a6bb
Merge branch 'staging'
(Truly, this time :-)
2017-03-01 11:34:44 +01:00
Michael Raskin
366b227af4 Merge pull request #23273 from lsix/update_octave
octave: 4.2.0 -> 4.2.1
2017-03-01 09:03:49 +00:00
Jörg Thalheim
a6e2d5fcbb
lua5_{2,3}: replace sha1 with sha256 2017-02-28 18:02:51 +01:00
Lancelot SIX
3adee0aac9
octave: 4.2.0 -> 4.2.1
See glists.gnu.org/archive/html/info-gnu/2017-02/msg00011.html for
release announcements.
2017-02-28 14:17:44 +01:00
Vladimír Čunát
a1919db7cd
Merge branch 'master' into staging 2017-02-27 20:15:27 +01:00
Frederik Rietdijk
079353e208 Python 2.7: increase priority - fixup
From the manual:

> This attribute should be a number, with a higher value denoting a
lower priority. The default priority is 0.

Just passing -5 or -10 wasn't sufficient, so let's make it -100.
2017-02-26 16:27:45 +01:00
Frederik Rietdijk
4bc1d02698 Python 2.7: increase priority
Higher priority than Python 3.x so that `/bin/python` points to
`/bin/python2` in case both 2 and 3 are installed.
2017-02-26 16:07:52 +01:00
Frederik Rietdijk
04b7a2791e Python 3.4: improve determinism 2017-02-26 14:51:26 +01:00
Frederik Rietdijk
57ded03833 Python 3.4: use system expat and ffi 2017-02-26 14:51:26 +01:00
Frederik Rietdijk
1bbf249bef Python 3.4: improve determinism 2017-02-26 14:51:26 +01:00
Frederik Rietdijk
d33f6f4032 Python 3.6: use system expat and ffi 2017-02-26 14:51:26 +01:00
Frederik Rietdijk
1531b5edd2 Python 3.6: improve determinism 2017-02-26 14:51:26 +01:00
Frederik Rietdijk
14a88e76cf Python 3.5: use system expat and ffi 2017-02-26 14:50:09 +01:00
Frederik Rietdijk
dd3a501a4b Python: mkPythonDerivation: use PYTHONHASHSEED=0 2017-02-26 14:50:09 +01:00
Frederik Rietdijk
8970a9c86e Python 3.5: improve determinism
- Windows installers are indeterministic and we don't need them.
- since Python 3 ensurepip is installed by default. pip is indeteministic and we don't need it.
- rebuild bytecode to ensure its deterministic
2017-02-26 14:50:09 +01:00
Frederik Rietdijk
09f6b03b2e Python 2.7: improve determinism
There is some randomness in the Windows installers. Since we don't need
them, we delete them.
2017-02-26 14:50:09 +01:00
Bart Brouns
4bb14b23ab supercollider: 3.7.2 -> 3.8.0 2017-02-26 14:21:21 +01:00
Vladimír Čunát
2f1945dcd3
python-3.6: fix random numbers with glibc-2.25
I missed this upstream patch. /cc #22874.
2017-02-22 17:34:33 +01:00
Vladimír Čunát
cab0b445be
python-3.4: fixup with glibc-2.25 (/cc #22874)
Upstream won't support it, but let me trick the code into behaving
as if glibc was older.  It seems 3.3 branch should be unaffected.
2017-02-21 17:56:32 +01:00
Vladimír Čunát
5a38ab8add
Merge branch 'master' into staging 2017-02-20 21:24:35 +01:00
Vladimír Čunát
2cb76ff1ff
Merge branch 'glibc-2.25' into staging
The largest problem-causers should be fixed now (within).
2017-02-20 21:18:48 +01:00
Nikolay Amiantov
7cbe538e94 pythonPackages.wrapPython: fix for paths with spaces 2017-02-19 01:43:12 +03:00
Franz Pletz
78abfe951b
php71: 7.1.1 -> 7.1.2 2017-02-18 14:50:16 +01:00
Franz Pletz
405e117d31
php70: 7.0.15 -> 7.0.16 2017-02-18 14:49:59 +01:00
Vladimír Čunát
110f136dc2
python*: upstream patches to fix with glibc-2.25
https://bugs.python.org/issue29157
The 3.6 release already contains the fix (from 3.5);
the branches in-between are claimed to be unaffected.
/cc #22874.
2017-02-16 23:13:38 +01:00
Vladimír Čunát
62ca214d4a
guile: fix include path in guile-2.0.pc
I forgot to /cc maintainer @civodul about the output-splitting.
2017-02-14 11:22:29 +01:00
Frederik Rietdijk
12285d162c pypy: inherit pythonVersion 2017-02-14 09:23:59 +01:00
Vladimír Čunát
218713aa3d
guile*: split outputs to fix #22757
The main aim is to decouple propagatedBuildInputs from $out.
2017-02-14 00:14:41 +01:00
Vladimír Čunát
0c524c63c6
guile: refactor expression
No rebuild on non-Solaris.
2017-02-13 23:01:46 +01:00
Frederik Rietdijk
c2e2a4d2c5 Python: remove 2.6 2017-02-13 14:42:24 +01:00
Michael Raskin
b2fcf9fec5 love_0_10: 0.10.1 -> 0.10.2 2017-02-13 12:49:31 +01:00
Graham Christensen
b793d69f12 Merge pull request #22537 from vrthra/jimtcl-0.77
jimtcl: 0.76 -> 0.77
2017-02-12 18:58:14 -05:00
Rahul Gopinath
36d6a3041a jimtcl: 0.76 -> 0.77 2017-02-11 11:33:33 -08:00
Joachim F
5627dd27b9 Merge pull request #22540 from vrthra/rakudo-star-2017.01
rakudo-star: 2016.07 -> 2017.01
2017-02-11 19:48:37 +01:00
Vladimír Čunát
6bea415b5e
Merge branch 'master' into staging 2017-02-09 08:42:04 +01:00
Frederik Rietdijk
b846a53d2a python34: 3.4.5 -> 3.4.6 2017-02-08 20:48:14 +01:00
Frederik Rietdijk
939f426906 python35: 3.5.2 -> 3.5.3 2017-02-08 20:48:14 +01:00
Rahul Gopinath
b09215bed5 rakudo-star: 2016.07 -> 2017.01 2017-02-07 16:58:14 -08:00
Vladimír Čunát
a2c867fd39
Merge branch 'staging' 2017-02-04 21:02:46 +01:00