about summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'upstream/master' into HEADFrederik Rietdijk2018-01-01
|\
| * dockerTools.examples: correct a typo in commentsWei-Ming Yang2018-01-01
| | | | | | This commit is for correcting a typo in comments.
* | Merge branch 'master' into stagingVladimír Čunát2017-12-31
|\| | | | | | | | | A few thousand rebuilds from master, again. Hydra: ?compare=1422362
| * Merge pull request #29483 from veprbl/hardening_unsupported_flagsJohn Ericson2017-12-30
| |\ | | | | | | cc-wrapper: allow compilers to specify unsupported hardening modes
| | * cc-wrapper: allow compilers to specify unsupported hardening modesDmitry Kalinkin2017-12-30
| | | | | | | | | | | | Fixes: 0fd7ef61b2 ('clang_34: Disable hardening bits (#28543)')
| * | Merge pull request #33139 from yegortimoshenko/20171228.053707/chrootenvYegor Timoshenko2017-12-31
| |\ \ | | |/ | |/| chrootenv: rewrite on top of GLib
| | * chrootenv: rewrite on top of GLibYegor Timoshenko2017-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | Merge pull request #26805 from obsidiansystems/cross-elegantJohn Ericson2017-12-30
|\ \ \ | | | | | | | | Make cross compilation elegant
| * | | stdenv-setup: Ease the transition with native buildsJohn Ericson2017-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - All deps go on the PATH - CC and Bintools wrappers with their host != depender's host still get their setup hooks run. - Environment hooks get applied to all packages This isn't so elegent, but eases the transition on a very significant PR.
| * | | treewide: Don't use envHook anymoreJohn Ericson2017-12-30
| | | | | | | | | | | | | | | | | | | | This commits needs a MAJOR audit as I oftentimes just guessed which of `$hostOffset`, `$targetOffset`, or a fixed offset should be used.
| * | | strip setup hook: Learn about only stripping host/target binaries aloneJohn Ericson2017-12-30
| | | | | | | | | | | | | | | | | | | | `dontStrip` is still a catch-all, but `dontStripHost` and `dontStripTarget` are also now available for finer-grained disabling.
| * | | {bintools,cc}-wrapper: extraPackages should be `depsTargetTargetPropagated`John Ericson2017-12-30
| | | | | | | | | | | | | | | | | | | | They are libraries used by programs built with these tools, not used by the tools themselves.
| * | | {bintools,cc}-wrapper: Fix setup hook to respect the role of the cc-compilerJohn Ericson2017-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #33186 from obsidiansystems/cross-binutilsJohn Ericson2017-12-29
|\| | | | |/ / |/| | binutils: Fix cross, again
| * | bintools-wrapper: Define fallback default emulationJohn Ericson2017-12-29
| | | | | | | | | | | | This ensures we by-default cross-compile to the intended platform.
* | | Merge pull request #32302 from andir/uwimap-pollutionJörg Thalheim2017-12-29
|\ \ \ | |_|/ |/| | uwimap pollution of `include/`
| * | Revert "fix phpPackages memcache,memcached,xdebug"Andreas Rammhold2017-12-10
| | | | | | | | | | | | This reverts commit 8c125c0c7448086cb4bd8dafd1f798d8697fcd78.
* | | chrootenv: resolve potential race conditionYegor Timoshenko2017-12-28
| | |
* | | Merge pull request #32916 from jbedo/singularity-2.4Joachim F2017-12-25
|\ \ \ | | | | | | | | singularity: 2.2 -> 2.4
| * | | singularity: 2.2 -> 2.4Justin Bedo2017-12-21
| | |/ | |/|
* | | Merge pull request #32814 from fahadsadah/patch-1Orivej Desh2017-12-24
|\ \ \ | | | | | | | | build-support: clean-up fetchSvn
| * | | build-support: tidy fetchSvnFahad Sadah2017-12-18
| | | | | | | | | | | | | | | | Remove old workaround rendered unnecessary by af9db522cf7053797f5d0729698cfafe47aac9be
* | | | chrootenv: code reviewYegor Timoshenko2017-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Wrap LEN macro in parantheses * Drop env_filter in favor of stateful environ_blacklist_filter, use execvp instead of execvpe, don't explicitly use environ * Add argument error logging wherever it makes sense * Drop strjoin in favor of asprintf * char* -> const char* where appropriate * Handle stat errors * Print user messages with fputs, not errorf * Abstract away is_str_in (previously bind_blacklisted) * Cleanup temporary directory on error * Some minor syntactic and naming changes Thanks to Jörg Thalheim and Tuomas Tynkkynen for the code review!
* | | | chrootenv: error on chrootenv-inside-chrootenv, resolves #32802Yegor Timoshenko2017-12-22
| | | |
* | | | chrootenv: replace env whitelist with blacklist, closes #32878Yegor Timoshenko2017-12-22
| | | |
* | | | chrootenv: bind-mount all dirs in /, symlink files, closes #32877Yegor Timoshenko2017-12-22
| | | |
* | | | chrootenv: print sysctl command for Debian users, fixes #32876Yegor Timoshenko2017-12-22
| | | |
* | | | mkShell: add builder (#30975)zimbatm2017-12-20
| |/ / |/| |
* | | ld-is-cc-hook: initOrivej Desh2017-12-19
| | | | | | | | | | | | | | | This hook sets LD to CC, for use with software that works as if LD=$CC when LD is unset, and does not work when LD=ld.
* | | makeSetupHook: make the default name "hook" overridableOrivej Desh2017-12-19
| | | | | | | | | | | | | | | for occasional convenience while looking at drv paths, such as in the output of nix-build and nix-diff.
* | | Merge branch 'master' into stagingOrivej Desh2017-12-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (125 commits) scummvm: fix eval tinycc: 0.9.27pre-20171016 -> 0.9.27 Update terraform provider versions vscode: 1.18.1 -> 1.19.0 linux: 4.14.6 -> 4.14.7 scummvm: 1.9.0 -> 2.0.0 cmst: 2017.03.18 -> 2017.09.19 albert: 0.14.7 -> 0.14.14 obs-studio: fix vlc plugin ffmpeg, ffmpeg-full: 3.4 -> 3.4.1 uchiwa: 0.26.3 -> 1.1.0 linux-testing: 4.15-rc3 -> 4.15-rc4 steam: override nss, nspr, fixes #32781 ponyc: 0.20.0 -> 0.21.0 pythonPackages.pwntools: disable tests gnome3.gnome-tweak-tool: 3.26.3 → 3.26.4 vim-rhubarb: init at 2017-06-28 atom: depend on libsecret nvidia-settings: Make sure binary can find libXv.so backblaze-b2: 0.6.2 -> 1.1.0 ...
| * | Merge pull request #32498 from dylex/patch-1Orivej Desh2017-12-17
| |\ \ | | | | | | | | Don't set cxx_stdlib when nativeTools on linux
| | * | cc-wrapper: don't set cxx_stdlib when nativeTools is trueDylan Simon2017-12-17
| | | | | | | | | | | | | | | | There are no gcc paths on nativeTools, and cc isn't set.
* | | | Merge branch 'master' into stagingVladimír Čunát2017-12-15
|\| | |
| * | | libredirect: add descriptionOrivej Desh2017-12-14
| | | | | | | | | | | | | | | | Fixes #32675
* | | | Merge remote-tracking branch 'upstream/staging' into binutils-wrapperJohn Ericson2017-12-13
|\ \ \ \
| * | | | Merge remote-tracking branch 'origin/master' into stagingGraham Christensen2017-12-12
| |\| | |
| | * | | Merge pull request #32365 from vcunat/p/check-metaGraham Christensen2017-12-12
| | |\ \ \ | | | | | | | | | | | | check meta, treewide
| | | * | | treewide platform checks: `abort` -> `throw`Vladimír Čunát2017-12-12
| | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | They aren't meant to be critical (uncatchable) errors. Tested with nix-env + checkMeta: [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
| * | | | Merge branch 'master' into stagingVladimír Čunát2017-12-12
| |\| | |
| | * | | build-support/vm: Use devtmpfs, not static device nodesTuomas Tynkkynen2017-12-12
| | | | | | | | | | | | | | | | | | | | In 2017, there is no reason to create a static /dev.
| | * | | debian: 8.9 -> 8.10Eelco Dolstra2017-12-12
| | | | |
| | * | | carnix: init at 0.5.0Pierre-Étienne Meunier2017-12-12
| | | | | | | | | | | | | | | | | | | | fixes #31150
| | * | | add buildRustCrate function to build rust cratesPierre-Étienne Meunier2017-12-12
| | | | |
| | * | | add fetchCrate function to fetch rust cratesPierre-Étienne Meunier2017-12-12
| | |/ /
| * | | Merge branch 'master' into stagingOrivej Desh2017-12-10
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (39 commits) pythonPackages: rename dns -> dnspython awesome: fix LUA_PATH/LUA_CPATH to lgi [now for version 3.5] qt4: fix qmake on darwin and delete custom install phase python.buildEnv: always include the $out output nix-bash-completions: lazy load aware install borg: 1.1.1 -> 1.1.3 nixos/programs/bash: document that /etc/bash_completion.d is obsolete ocamlPackages.markup: 0.7.4 -> 0.7.5 hhvm: 3.21 -> 3.23.2 ocamlPackages.ulex: 1.1 -> 1.2 notmuch: 0.25.2 -> 0.25.3 gmime3: 3.0.1 -> 3.0.5 qt4: fix darwin install phase nixos/programs/bash: Let bash-completion lazy load scripts Revert "gmime: 3.0.1 -> 3.0.5" rawtherapee: delete unused files pythonPackages: rename dns -> dnspython nixpkgs: remove sqlite/kyotocabinet deps for leveldb tor-browser-bundle-bin: 7.0.10 -> 7.0.11 networkmanager: remove restart after suspend from resume ...
| | * | Merge pull request #31182 from yegortimoshenko/chroot-user/c-rewriteJörg Thalheim2017-12-10
| | |\ \ | | | |/ | | |/| chroot-user: rewrite in C, drop CHROOTENV_EXTRA_BINDS
| | | * chroot-user: better error message, if unshare is not allowedJörg Thalheim2017-12-09
| | | |
| | | * chroot-user: rewrite in C, drop CHROOTENV_EXTRA_BINDSYegor Timoshenko2017-11-09
| | | | | | | | | | | | | | | | Formatted via clang-format.
| * | | Merge pull request #32215 from dtzWill/feature/clang-multilibOrivej Desh2017-12-09
| |\ \ \ | | |/ / | |/| | multilib-capable clang, multilib tests