about summary refs log tree commit diff
path: root/pkgs/build-support
AgeCommit message (Collapse)AuthorFilesLines
2018-01-11callCabal2nix: Fix calling with a path in the store.Shea Levy1-0/+14
2018-01-10Merge pull request #33681 from obsidiansystems/fixed-output-depsJohn Ericson20-58/+58
Fixed output deps
2018-01-10treewide: Fix deps in a few other fixed output derivationsJohn Ericson2-2/+2
2018-01-10treewide: Fetchers should use `stdenvNoCC`.John Ericson15-40/+40
2018-01-09treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson16-16/+16
2018-01-09Revert "rust: store the cargo-vendor config"Robin Gloster3-20/+20
This reverts commit 0af2c5891bfccfe5a6e8ba67e95c5852c45529d2. See https://github.com/NixOS/nixpkgs/commit/0af2c5891bfccfe5a6e8ba67e95c5852c45529d2#commitcomment-26737983 This breaks the cargoSha256 hashes.
2018-01-09schedulingPriority should be an int, fix check-meta type and in-tree useWill Dietz1-1/+1
2018-01-09rust: store the cargo-vendor configzimbatm3-20/+20
cargo-vendor generates almost the right cargo config. Store it with the vendored files and patch it on use. This allows to re-use the generated config when using git dependencies.
2018-01-07vmTools: omit '-drive ...' entirely instead of using /dev/nullWill Dietz1-4/+2
Fixes #33378.
2018-01-06carnix: 0.5.0 -> 0.5.2dywedir1-17/+17
2018-01-05gcc-wrapper-old: grab name of dynamicLinker for bintoolsWill Dietz1-25/+2
2018-01-04Fix emacsWithPackages after 7f3ca3e21a22fd3101b40cadb86899542dec2e35.Shea Levy1-1/+35
This is hacky but it does the job, resurrects findInputs from before staging merge
2018-01-01Merge remote-tracking branch 'upstream/master' into HEADFrederik Rietdijk1-1/+1
2018-01-01dockerTools.examples: correct a typo in commentsWei-Ming Yang1-1/+1
This commit is for correcting a typo in comments.
2017-12-31Merge branch 'master' into stagingVladimír Čunát5-248/+161
A few thousand rebuilds from master, again. Hydra: ?compare=1422362
2017-12-30Merge pull request #29483 from veprbl/hardening_unsupported_flagsJohn Ericson1-1/+1
cc-wrapper: allow compilers to specify unsupported hardening modes
2017-12-31Merge pull request #33139 from yegortimoshenko/20171228.053707/chrootenvYegor Timoshenko4-247/+160
chrootenv: rewrite on top of GLib
2017-12-30Merge pull request #26805 from obsidiansystems/cross-elegantJohn Ericson11-47/+113
Make cross compilation elegant
2017-12-30stdenv-setup: Ease the transition with native buildsJohn Ericson2-4/+10
- 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.
2017-12-30treewide: Don't use envHook anymoreJohn Ericson6-7/+11
This commits needs a MAJOR audit as I oftentimes just guessed which of `$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30strip setup hook: Learn about only stripping host/target binaries aloneJohn Ericson1-8/+29
`dontStrip` is still a catch-all, but `dontStripHost` and `dontStripTarget` are also now available for finer-grained disabling.
2017-12-30{bintools,cc}-wrapper: extraPackages should be `depsTargetTargetPropagated`John Ericson2-2/+3
They are libraries used by programs built with these tools, not used by the tools themselves.
2017-12-30{bintools,cc}-wrapper: Fix setup hook to respect the role of the cc-compilerJohn Ericson2-30/+64
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-30chrootenv: rewrite on top of GLibYegor Timoshenko4-247/+160
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-30cc-wrapper: allow compilers to specify unsupported hardening modesDmitry Kalinkin1-1/+1
Fixes: 0fd7ef61b2 ('clang_34: Disable hardening bits (#28543)')
2017-12-29Merge pull request #33186 from obsidiansystems/cross-binutilsJohn Ericson2-0/+19
binutils: Fix cross, again
2017-12-29bintools-wrapper: Define fallback default emulationJohn Ericson2-0/+19
This ensures we by-default cross-compile to the intended platform.
2017-12-29Merge pull request #32302 from andir/uwimap-pollutionJörg Thalheim1-2/+0
uwimap pollution of `include/`
2017-12-28chrootenv: resolve potential race conditionYegor Timoshenko1-12/+8
2017-12-25Merge pull request #32916 from jbedo/singularity-2.4Joachim F1-2/+5
singularity: 2.2 -> 2.4
2017-12-24Merge pull request #32814 from fahadsadah/patch-1Orivej Desh1-5/+1
build-support: clean-up fetchSvn
2017-12-22chrootenv: code reviewYegor Timoshenko1-100/+90
* 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!
2017-12-22chrootenv: error on chrootenv-inside-chrootenv, resolves #32802Yegor Timoshenko1-2/+10
2017-12-22chrootenv: replace env whitelist with blacklist, closes #32878Yegor Timoshenko1-22/+31
2017-12-22chrootenv: bind-mount all dirs in /, symlink files, closes #32877Yegor Timoshenko1-24/+69
2017-12-22chrootenv: print sysctl command for Debian users, fixes #32876Yegor Timoshenko1-5/+13
2017-12-21singularity: 2.2 -> 2.4Justin Bedo1-2/+5
2017-12-20mkShell: add builder (#30975)zimbatm1-0/+46
2017-12-19ld-is-cc-hook: initOrivej Desh1-0/+5
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.
2017-12-19makeSetupHook: make the default name "hook" overridableOrivej Desh1-2/+2
for occasional convenience while looking at drv paths, such as in the output of nix-build and nix-diff.
2017-12-18build-support: tidy fetchSvnFahad Sadah1-5/+1
Remove old workaround rendered unnecessary by af9db522cf7053797f5d0729698cfafe47aac9be
2017-12-18Merge branch 'master' into stagingOrivej Desh1-1/+1
* 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 ...
2017-12-17Merge pull request #32498 from dylex/patch-1Orivej Desh1-1/+1
Don't set cxx_stdlib when nativeTools on linux
2017-12-17cc-wrapper: don't set cxx_stdlib when nativeTools is trueDylan Simon1-1/+1
There are no gcc paths on nativeTools, and cc isn't set.
2017-12-15Merge branch 'master' into stagingVladimír Čunát1-0/+6
2017-12-14libredirect: add descriptionOrivej Desh1-0/+6
Fixes #32675
2017-12-13Merge remote-tracking branch 'upstream/staging' into binutils-wrapperJohn Ericson9-209/+1520
2017-12-13Merge commit '9d8f9b2e531bf95a700a949d879927fb6996ffc9' into binutils-wrapperJohn Ericson1-1/+1
2017-12-13bintools-wrapper: Create man and info outputs propagated underlying onesJohn Ericson1-2/+11
These will be installed if the wrappers are. The wrappers aren't very good to install, but that's another matter.
2017-12-13bintools-wrapper: Support ld.ldd, along with ld.bfd and ld.goldJohn Ericson1-7/+5
Also make the code more precise in the process