Commit graph

124283 commits

Author SHA1 Message Date
John Ericson bc23afe5c7 gcc: Add build->build dep for C compilers
5 already had this, but I forgot the other versions.
2017-12-30 22:04:21 -05:00
John Ericson 5b74540c5b treewide: Use depsBuildBuild for buildPackges.stdenv.cc 2017-12-30 22:04:21 -05:00
John Ericson 3a50395ef2 {bintools,cc}-wrapper: extraPackages should be depsTargetTargetPropagated
They are libraries used by programs built with these tools, not used by the
tools themselves.
2017-12-30 22:04:21 -05:00
John Ericson a036473a0a {bintools,cc}-wrapper: Fix setup hook to respect the role of the cc-compiler
We now have the information to properly determine the role the
cc-wrapper dependency has, by taking advantage of `offset`. No longer
use the soon-to-be-deprecated crossConfig environment variable, the
temp hack used before this change.
2017-12-30 22:04:21 -05:00
John Ericson 7f3ca3e21a stdenv: Fix handling of dependencies and hooks
4 far-reaching changes: Smaller PATH, New vars, different propagation
logic, and different hook logic

Smaller PATH
------------

`buildInputs` no longer go on the PATH at build time, as they cannot be
run when cross compiling and we don't want to special case. Simply make
a `nativeBuildInput` too if one needs them on the PATH. Fixes #21191.

Many new depedendency variables
-------------------------------

See the stdenv chapter of the nixpkgs manual. I pulled out the existing
documentation of dependency specification into a new section, and added
language for these two (and their propagated equivalents) along side
the others'.

More complex propagation logic
------------------------------

Before a propagated*XXX*Input always acted as if it was specified
directly as a *XXX*Input downstream. That's simple enough, but violates
the intended roles of each sort of dep, which has functional and not
just stylistic consequences.

The new algorithm is detailed in the manual, and ensures everything
ends up in the right place. I tried to give both an informal and formal
description, but I suspect in practice it will not make much sense
until one tries cross compiling, after which it will immediately make
sense as the only sane option.

Simplified hook logic
---------------------

Rather than `envHook` and `crossEnvHook`, whose behavior differs
depending on whether we are cross compiling or not, there is now one
hook per sort (or rather non-propagated and propagated pair of sorts)
of dependency. These new hooks have the same meaning regardless of
cross compilation. See the setup hook section of stdenv chapter of the
Nixpkgs manual for more details.
2017-12-30 22:04:21 -05:00
John Ericson bb18a3b573 top-level: Splice in more package sets for new types of deps
This is done in preparation for the next commit where, among other
changes, I add support for the new `dep*` attributes.
2017-12-30 22:04:20 -05:00
Austin Seipp ff555bdaeb tamarin-prover: enable tests
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-12-30 19:39:38 -06:00
Jörg Thalheim 2efe8b95c8 python.pkgs.mygpoclient: 1.7 -> 1.8 2017-12-31 02:38:09 +01:00
adisbladis 409642e529
udiskie: Fix eval 2017-12-31 02:14:22 +01:00
Austin Seipp bae2e7ceb3 nixpkgs: add sapic as a dependency to tamarin-prover
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-12-30 19:01:29 -06:00
Austin Seipp 3813ab2589 nixpkgs: init sapic 0.9
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-12-30 19:01:29 -06:00
Austin Seipp a31bdc0739 nixpkgs: add 'graphviz' to tamarin-prover dependencies
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-12-30 19:01:29 -06:00
adisbladis f772b8d298
udiskie: Use python3 (python2 support is deprecated) 2017-12-31 01:53:45 +01:00
adisbladis 0f74917d7d
Merge pull request #33206 from dotlambda/udiskie
udiskie: 1.7.2 -> 1.7.3
2017-12-31 01:53:31 +01:00
adisbladis 94f6d432d1
Merge pull request #33216 from romildo/upd.tint2
tint2: 16.0 -> 16.1
2017-12-31 01:39:04 +01:00
John Ericson 281fb9c222 Merge branch 'bintools-release-note' into ericson2314-cross-base 2017-12-30 19:37:36 -05:00
John Ericson fa9f0e574d
Merge pull request #33196 from obsidiansystems/bintools-release-note
doc: Breaking change release note for bintools-wrapper
2017-12-30 19:37:06 -05:00
John Ericson da48603852
Merge pull request #33188 from obsidiansystems/clean-boost
boost: Clean, reducing duplication
2017-12-30 19:29:03 -05:00
John Ericson d67e0921e9 doc: Breaking change release note for bintools-wrapper 2017-12-30 19:27:52 -05:00
Austin Seipp abcfa6f608 nixpkgs: add tamarin-prover 1.3.0 (dev) tool
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-12-30 18:23:15 -06:00
John Ericson 76b590405a boost: Clean, reducing duplication
This was motivated originally by my cross work, but that goal requires a
few more commits to other things. Still, it's good to start the cleanup
now / get things out of the way.
2017-12-30 19:17:53 -05:00
Jörg Thalheim b81de99c03 pythonix: mark it as a python module
This was mentioned by @FRidh in https://github.com/NixOS/nixpkgs/pull/33174#discussion_r159083763
2017-12-31 00:55:28 +01:00
Tim Steinbach 469e1e5dcb
linux: 4.14.9 -> 4.14.10 2017-12-30 18:06:01 -05:00
Tim Steinbach ed39ff393d
linux: 4.9.72 -> 4.9.73 2017-12-30 18:06:01 -05:00
Tim Steinbach 02bc3f4e3a
linux-copperhead: 4.14.9.b -> 4.14.10.a 2017-12-30 18:06:01 -05:00
Yegor Timoshenko 122720ff2b
Merge pull request #33215 from NixOS/yegortimoshenko-patch-1
libinput: disableWhileTyping = false by default
2017-12-31 01:57:20 +03:00
José Romildo Malaquias c22221b15b tint2: 16.0 -> 16.1 2017-12-30 20:28:44 -02:00
Yegor Timoshenko 4b1cf5afb8
chrootenv: rewrite on top of GLib
Changes:

* doesn't handle root user separately
* doesn't chdir("/") which makes using it seamless
* only bind mounts, doesn't symlink (i.e. files)

Incidentally, fixes #33106.

It's about two times shorter than the previous version, and much
easier to read/follow through. It uses GLib quite heavily, along with
RAII (available in GCC/Clang).
2017-12-30 22:28:38 +00:00
Ben Wolsieffer b1a2e1caef pkgs/release-lib: evaluate nixpkgs on armv6l and armv7l (#32641) 2017-12-31 00:19:10 +02:00
Yegor Timoshenko c31ac41810
libinput: disableWhileTyping = false by default 2017-12-30 22:02:16 +00:00
David Asabina 810ec3f8bd bitscope: init at 2017-12-28 2017-12-30 21:58:27 +01:00
David Asabina 8dbfe6990e maintainers: add @vidbina 2017-12-30 21:58:27 +01:00
Gabriel Ebner a9f118914f electrum: enable support for qr codes 2017-12-30 21:16:16 +01:00
Sébastien Maccagnoni 9db8e22679
gnomeExtensions.mediaplayer: init at 3.5 2017-12-30 20:00:22 +01:00
Dmitry Kalinkin 6d9769663d
cc-wrapper: allow compilers to specify unsupported hardening modes
Fixes: 0fd7ef61b2 ('clang_34: Disable hardening bits (#28543)')
2017-12-30 12:23:25 -05:00
Peter Simons 2c557e1663
Merge pull request #33187 from NickHu/llvm-hs
llvm-hs: fix llvm-config dependency
2017-12-30 18:15:27 +01:00
Tuomas Tynkkynen 9fe81b5ac2 nvidia-x11: Attempt to fix library-only build
1fb0d3d158 (commitcomment-26554956)
2017-12-30 18:44:45 +02:00
Robert Schütz 63fcd9d769 udiskie: 1.7.2 -> 1.7.3 2017-12-30 17:40:05 +01:00
Frederik Rietdijk 5920579a3d Python: disable user site-packages in setup hook
Wrappers already included `PYTHONNOUSERSITE=1`, but now this env var is
also set in the Python setup hook. This improves purity in case of
non-sandboxes builds and nix-shell.
2017-12-30 17:09:09 +01:00
Frederik Rietdijk 96f4e27e18 python: Flask-Testing: 0.6.2 -> 0.7.1 2017-12-30 17:06:32 +01:00
Frederik Rietdijk bcead958d7 python: flake8-debugger: 1.4.0 -> 3.0.0 2017-12-30 17:06:32 +01:00
Frederik Rietdijk dea154d378 python: Fiona: 1.7.10.post1 -> 1.7.11 2017-12-30 17:06:32 +01:00
Frederik Rietdijk a435277ff9 python: filelock: 2.0.13 -> 2.0.14 2017-12-30 17:06:32 +01:00
Frederik Rietdijk 710a85a3a0 python: faulthandler: 2.6 -> 3.0 2017-12-30 17:06:32 +01:00
Frederik Rietdijk 166c9fd85d python: Faker: 0.8.7 -> 0.8.8 2017-12-30 17:06:32 +01:00
Frederik Rietdijk 78d6446a20 python: Eve: 0.7.4 -> 0.7.5 2017-12-30 17:06:32 +01:00
Frederik Rietdijk ffebbd2f8d python: easy-thumbnails: 2.4.2 -> 2.5 2017-12-30 17:06:32 +01:00
Frederik Rietdijk b6d84fa6ab python: docker-compose: 1.15.0 -> 1.18.0 2017-12-30 17:06:32 +01:00
Frederik Rietdijk cb5a82020f python: docker: 2.5.1 -> 2.7.0 2017-12-30 17:06:32 +01:00
Frederik Rietdijk 68436b4597 python: djangorestframework: 3.7.3 -> 3.7.7 2017-12-30 17:06:32 +01:00