summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* lib, openssl: Get rid of openssl.systemJohn Ericson2018-01-26
| | | | We compute it on the fly, careful to avoid any mass rebuilds for now.
* Carnix 0.6 (#34238)Pierre-Etienne Meunier2018-01-26
|
* nix-prefetch-git: fix extraction of submodule hashes on latest gitWill Dietz2018-01-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: According to git-submodule manpage, "git submodule status" prefixes the hash with a '-' if it is not initialized, and other chars in other circumstances. (this is consistent on the various git versions tested) nix-prefetch-git runs "git submodule init" which does you'd think, but apparently despite this earlier versions of git before 2.16 would still give the hash the '-' suffix. In particular this is the behavior when using 2.15 and 2.14.1 from the nixos-17.09 and nixos-17.03 channels respectively. The script then used awk to drop the first char of the first field which does the wrong thing when there is no prefix emitted: while there is a space character before the hash, this is not part of the field and so we ended up eating the first character of the hash. To fix this in a way that also works with the previous behavior, this commit instead uses awk to grab the hash field and uses tr to delete any '-' chars should they be present. This seems to work in my testing, and for example can now successfully fetch the source for "nginxModules.brotli" where previously it would generate an error: fatal: '22564a95d9ab58865a096b8d9f7324ea5f2e03e' is not a commit and a branch 'fetchgit' cannot be created from it (we dropped a '2' from the beginning of the hash)
* nixos/initrd: Don't include some x86-specific modules unconditionallyTuomas Tynkkynen2018-01-22
|
* build-support/vm: Autodetect kernel filenameTuomas Tynkkynen2018-01-22
| | | | It's 'Image' on AArch64.
* Merge pull request #34018 from obsidiansystems/fetchpatchJohn Ericson2018-01-18
|\ | | | | fetchpatch: Add support for an arbitrary extra prefix
| * fetchpatch: Add support for an arbitrary extra prefixJohn Ericson2018-01-18
| | | | | | | | | | | | We still ensure the old and new ones start, respectfully, with `a/` and `b/`. Use with `stripLen` to ensure tha the old `a/` and `/b` are gone if a new prefix is added.
* | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-01-14
|\| | | | | | | | | | | | | | | | | | | Conflicts: pkgs/build-support/fetchbower/default.nix pkgs/build-support/fetchdarcs/default.nix pkgs/build-support/fetchgx/default.nix pkgs/development/python-modules/botocore/default.nix pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix pkgs/tools/admin/awscli/default.nix
| * callCabal2nix: Fix calling with a path in the store.Shea Levy2018-01-11
| |
| * Merge pull request #33681 from obsidiansystems/fixed-output-depsJohn Ericson2018-01-10
| |\ | | | | | | Fixed output deps
| | * treewide: Fix deps in a few other fixed output derivationsJohn Ericson2018-01-10
| | |
| | * treewide: Fetchers should use `stdenvNoCC`.John Ericson2018-01-10
| | |
| | * treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson2018-01-09
| | |
| * | Revert "rust: store the cargo-vendor config"Robin Gloster2018-01-09
| | | | | | | | | | | | | | | | | | | | | This reverts commit 0af2c5891bfccfe5a6e8ba67e95c5852c45529d2. See https://github.com/NixOS/nixpkgs/commit/0af2c5891bfccfe5a6e8ba67e95c5852c45529d2#commitcomment-26737983 This breaks the cargoSha256 hashes.
| * | schedulingPriority should be an int, fix check-meta type and in-tree useWill Dietz2018-01-09
| |/
| * rust: store the cargo-vendor configzimbatm2018-01-09
| | | | | | | | | | | | | | 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.
* | Merge branch 'master' into stagingVladimír Čunát2018-01-08
|\|
| * vmTools: omit '-drive ...' entirely instead of using /dev/nullWill Dietz2018-01-07
| | | | | | | | Fixes #33378.
* | Merge pull request #33010 from LnL7/cacert-hookDaiderd Jordan2018-01-07
|\ \ | |/ |/| cacert: add hook that sets SSL_CERT_FILE
| * cacert: cleanup exporting SSL_CERT_FILEDaiderd Jordan2017-12-27
| |
* | carnix: 0.5.0 -> 0.5.2dywedir2018-01-06
| |
* | gcc-wrapper-old: grab name of dynamicLinker for bintoolsWill Dietz2018-01-05
| |
* | Fix emacsWithPackages after 7f3ca3e21a22fd3101b40cadb86899542dec2e35.Shea Levy2018-01-04
| | | | | | | | This is hacky but it does the job, resurrects findInputs from before staging merge
* | 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
| | | |