Commit Graph
2240 Commits
Author SHA1 Message Date
Félix Baylac-Jacqué a5aca72f93 bazel: 0.21.0 -> 0.22.0 2019-01-30 14:57:32 +01:00
Philip Patsch 5c6892e1a2 bazel: fix java toolchain regression
By changing the default toolchain to JDK8, we broke the default Java
toolchain, which assumes JDK9.

Instead, set `host_java_toolchain` manually for our build of bazel,
and set `java_toolchain` to run the java tests with the build JDK as
well.

Fixes https://github.com/NixOS/nixpkgs/issues/54289
2019-01-29 14:03:54 +01:00
R. RyanTM 0f490eab3e mill: 0.3.5 -> 0.3.6
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mill/versions
2019-01-28 01:04:08 -08:00
Will Dietz 5aaf597df3 meson: 0.49.0 -> 0.49.1
https://groups.google.com/d/msg/mesonbuild/xRXQatmXIwo/-2lqsOIXGAAJ

https://github.com/mesonbuild/meson/milestone/33
2019-01-27 15:28:01 -06:00
Matthew Bauer 92f0f8dd68 Merge remote-tracking branch 'NixOS/master' into staging 2019-01-27 00:01:13 -05:00
Robin Palotai 566539ff55 Add test and docs. 2019-01-26 22:22:34 +01:00
Robin Palotai d3199ddaa7 Add gzip and gnutar to default bazel-bash tools. These are often used by rules, mostly due to Bazel's one-output rule. 2019-01-26 22:22:34 +01:00
Michael Weiss f561acc48e scons.src: Update the hash (tarball was modified)
Unfortunately the tarball was modified for the official release and
"nix-store -r --check $(nix-instantiate -A scons.src)" did not catch
this (not sure why ATM).

Thanks @pbogdan for noticing this :)
2019-01-23 21:21:46 +01:00
Michael Weiss c2b8270fb8 Merge pull request #54461 from primeos/scons
scons: 3.0.3 -> 3.0.4
2019-01-23 19:05:44 +01:00
Michael Weiss 32e7f391fc scons: 3.0.3 -> 3.0.4
Announcement:
https://scons.org/scons-304-is-available.html

Changelog:
https://raw.githubusercontent.com/SConsProject/scons/rel_3.0.4/src/CHANGES.txt

There where no regressions and no deprecations in this release (at least
it does not break any additional builds in nixpkgs).
2019-01-23 18:46:53 +01:00
Frederik Rietdijk 01efca4a54 Merge pull request #54462 from dotlambda/python-pkgs-remove
pythonPackages: remove some packages representing outdated versions
2019-01-23 09:38:40 +01:00
Profpatsch 88fa235e63 bazel: camel-case python_bin_path 2019-01-22 21:28:24 +01:00
Philip Patsch 25cd44063f bazel: add python to the runtime closure 2019-01-22 21:28:24 +01:00
Vladimír Čunát 3fe32b675e Merge branch 'master' into staging 2019-01-22 15:59:42 +01:00
Robert Schütz 8c57113e14 python.pkgs.argparse: remove
argparse is part of stdlib in 2.7 and 3.2+
2019-01-22 12:43:07 +01:00
Linus Heckemann 4c651d1647 bam: 0.4.0 -> 0.5.1, fix licence 2019-01-21 11:34:28 +01:00
Frederik Rietdijk ca2edf79f7 Merge master into staging-next 2019-01-20 18:22:17 +01:00
Jan Tojnar ef14a225bb Merge pull request #54007 from jtojnar/darwin-gsettings
Darwin GSettings support
2019-01-20 13:53:47 +01:00
Léo Gaspard cf8383810e gn: use python2 as gn is incompatible with python3 2019-01-19 14:17:22 +01:00
Robin Palotai 68436aec2c Add awk as a default tool for Bazel shell commands.
Apparently
https://github.com/gflags/gflags/blob/e292e0452fcfd5a8ae055b59052fc041cbab4abf/bazel/gflags.bzl#L8
assumes it should be accessible. Normally we could ask them to fix, but
I would expect awk to be a commonly assumed.

The rough search
https://github.com/search?q=filename%3ABUILD+genrule+awk&type=Code
brings ~1K hits.
2019-01-19 11:07:00 +01:00
Frederik Rietdijk f8b45e2d84 Merge staging-next into staging 2019-01-19 09:24:01 +01:00
Kevin Rauscher 26e2eb3a9d bloop: 1.2.1 -> 1.2.3 2019-01-18 09:29:41 +01:00
Frederik Rietdijk 9cfae76fc5 Merge staging-next into staging 2019-01-17 09:21:29 +01:00
Jörg Thalheim 2eaadfa5be conan: fix distro package version 2019-01-16 12:23:59 +00:00
Jan Tojnar 2f4e167156 meson: Fix linking ObjC objects on Darwin
https://github.com/NixOS/nixpkgs/pull/54007#issuecomment-454693658
2019-01-16 13:21:40 +01:00
Jörg Thalheim fd5b4eeb19 Merge pull request #53380 from HaoZeke/updateConan
conan: 1.6.0 -> 1.11.2
2019-01-16 08:15:14 +00:00
Orivej Desh 052db93d8f bazel: fix patches after #53988 2019-01-16 00:54:56 +00:00
Félix Baylac-Jacqué 57004738b1 bazel: fix python stub paths.
Since the 0.21 upgrade, the host `$PATH` is not forwarded anymore by
default to the sandboxes in charge to realize Bazel actions. This
default change broke the `py_binary` rule among other things.

Every python binary is wrapped in a stub in charge to setup the
execution environment. Currently, this stub's shebang points to a
`/usr/bin/env python` which cannot be resolved with the current
`$PATH`.
This results in breaking any build pipeline requiring the use of
python at some point. On top of the incorrect shebang, the stub
template is unable to find the actual python binary using
`SearchPath`.

This PR fixes those two things by re-writing the stub template shebang
to the actual python binary and by substituting the faulty default
python binary lookup to the right one.
2019-01-15 19:25:24 +01:00
Frederik Rietdijk 42d276c6b8 Merge staging-next into staging 2019-01-15 16:59:03 +01:00
Kévin Rauscher d6fc1163e8 bloop: 1.1.2 -> 1.2.1 (#53093) 2019-01-13 23:17:16 +01:00
Frederik Rietdijk bb9581cd88 Merge staging-next into staging 2019-01-13 14:46:43 +01:00
volth a4faf59aa1 ninja: re2c is not for building docs
ninja sources include re2c's output files, so unless we change the sources by applying a patch, re2c is not even launched
anyway, it is not relevant to building docs
2019-01-13 13:42:06 +01:00
Michael Weiss 768d876394 scons: Remove version 2.5.1 2019-01-12 10:44:33 +01:00
Jörg Thalheim 831ffbdc96 Merge pull request #53737 from dpetranek/update-leiningen
leiningen: 2.8.1 -> 2.8.3
2019-01-11 12:06:36 +00:00
Dmitry Kalinkin 9fac2254b2 Merge pull request #53666 from ThomasMader/dlang-update
dmd: 2.083.1 -> 2.084.0, dub: 1.12.1 -> 1.13.0, dtools: 2.083.1 -> 2.084.0, Literate: 2018-12-23 -> 2019-01-08
2019-01-10 13:54:44 -05:00
Profpatsch 9e9fec640e bazel: 0.20.0 -> 0.21.0
0.21 removed the bundled openjdk-distribution. Instead, tries to fetch
the “right” distribution on-the-fly when building.
So we need to provide our own openjdk.

According to
https://github.com/bazelbuild/bazel/issues/6865#issuecomment-447261288
we should set `--host_javabase="@local_jdk//:jdk` if we want to do
that. This uses the jdk that is currently in the environment, which is
openjdk 8 in our case. 0.21 defaulted to a toolchain for JDK9, which
we don’t package in nixpkgs, so we use the JDK8 toolchain.

This commit also replaces the line-number-based sed invocations with
something more stable.
2019-01-10 18:46:25 +01:00
Will Dietz 7e31406886 bazel: greatly reduce time spent substituting, be smart which files
Files inspected: 2756 -> 40
Total size of inspected files: 20M -> 1016K
2019-01-10 18:46:25 +01:00
dpetranek 7c19fba9f6 leiningen: 2.8.1 -> 2.8.3 2019-01-10 01:04:21 -06:00
Olli Helenius 4cb889f166 bear: fix wrapper detection patch by checking result of find_executable
With the wrapper detection patch, if a build invokes an executable that cannot
be found in PATH by `find_executable`, bear will fail with an `AttributeError`
in `os.path.realpath`.

This can happen if the build invokes some project-local tool or command, like
`./build-something`.

Instead of calling using the result of `find_executable` directly, first check
whether the executable was found and fall back to original Bear behavior if
it was not.
2019-01-09 23:00:16 +02:00
HaoZeke efe4a6d205 conan: 1.6.0 -> 1.11.2 2019-01-09 19:33:29 +05:30
Thomas Mader 5041439421 dub: 1.12.1 -> 1.13.0 2019-01-09 08:05:51 +01:00
Will Dietz e69d494033 scons: 3.0.2 -> 3.0.3
https://scons.org/scons-303-is-available.html

cc e1d9854816
2019-01-08 21:34:55 -06:00
Michael Weiss a684ae6e53 scons: Remove version 3.0.0 2019-01-06 20:31:16 +01:00
Michael Weiss d376ffe767 scons: Add version 3.0.2
"SCons release 3.0.2 now available from the download page at
SourceForge. This release should be used instead of 3.0.1. This release
fixes several issues. This release supports Python versions 2.7.* as
well as 3.5+." [0]

Details can be found in the changelog [1].

I'll update the default after running additional tests.

[0]: https://scons.org/scons-302-is-available.html
[1]: https://raw.githubusercontent.com/SConsProject/scons/rel_3.0.2/src/CHANGES.txt
2019-01-06 20:31:16 +01:00
Frederik Rietdijk 092e3b50a8 Merge master into staging-next 2019-01-02 21:08:27 +01:00
xeji 6056319934 Merge pull request #52964 from ThomasMader/dlang-update
Dlang update 2018-12
2019-01-01 23:49:46 +01:00
Tim Steinbach 711a74c65a sbt: 1.2.7 -> 1.2.8 2019-01-01 12:38:06 -05:00
Frederik Rietdijk 070290bda7 Merge master into staging-next 2018-12-31 12:00:36 +01:00
Dmitry Bogatov d77bab14ab tup: 0.7.5 -> 0.7.8 2018-12-29 13:04:54 +01:00
Thomas Mader 0bee7282c1 dub: 1.10.0 -> 1.12.1 2018-12-27 13:40:51 +01:00