summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* Add a `pkgs.dhallToNix` utilityGabriel Gonzalez2017-01-26
| | | | | | | | This adds a `dhallToNix` utility which compiles expression from the Dhall configuration language to Nix using Nix's support for "import from derivation". The main motivation of this compiler is to allow users to carve out small typed subsets of Nix projects. Everything in the Dhall language (except `Double`s) can be translated to Nix in this way, including functions.
* stdenv: Add updateAutoconfGnuConfigScriptsHook for aarch64Tuomas Tynkkynen2017-01-25
| | | | | | | | | | | This is required for Aarch64 since a lot of source tarballs ship with outdated configure scripts that don't recognize aarch64. Simply replacing the config.guess and config.sub with new versions from upstream makes them build again. This same approach is used by at least Buildroot and Fedora. In principle this could be enabled for all architectures but conditionalizing this on aarch64 avoids a mass rebuild on x86.
* stdenv: Bringup aarch64 architecture supportTuomas Tynkkynen2017-01-25
|
* cc-wrapper: Remove unneeded crossAttrsJohn Ericson2017-01-24
|
* Fix fetchbower to handle SSL originsAndraz Bajt2017-01-23
|
* debian: 8.6 -> 8.7Eelco Dolstra2017-01-17
|
* fetchurl: change to grep -E to fix #8561Vladimír Čunát2017-01-13
| | | | Close #21861.
* nix-prefetch-git: remove call to non-existent print_metadata command; ↵Connor Clark2017-01-03
| | | | improve hash mismatch error message.
* Revert "releaseTools.debBuild: split checkinstall into separate phase"Nikolay Amiantov2016-12-31
|
* Merge pull request #20767 from abbradar/debbuildMichael Raskin2016-12-30
|\ | | | | releaseTools.debBuild: split checkinstall into separate phase
| * releaseTools.debBuild: split checkinstall into separate phase and allow to ↵Nikolay Amiantov2016-12-03
| | | | | | | | override them
* | Merge pull request #19939 from groxxda/replaceDependencyMichael Raskin2016-12-30
|\ \ | | | | | | replaceDependency: fix syntax error
| * | replaceDependency: fix syntax errorAlexander Ried2016-10-28
| | |
* | | Use looser 9pfs caching in VM tests/buildsEelco Dolstra2016-12-29
| | | | | | | | | | | | | | | This can give significant speed ups, see https://github.com/edolstra/linux/commit/7e20254412c780a2102761fee92cb1d32ceeaefd.
* | | make-initrd: create reproducible initrdsJoachim Fasting2016-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To achieve reproducible results, `cpio` archive members are added in sorted order and inodes renumbered. The `cpio-clean.pl` script is made obsolete by setting mtimes via `touch` & using `cpio --reproducible`. Suggested by @dezgeg in https://github.com/NixOS/nixpkgs/pull/21273#issuecomment-268116605. Note that using `--reproducible` means that initial ramdisk creation now requires at least `cpio` version 2.12 (released in 2015).
* | | Merge pull request #19369 from Mic92/nix-prefetch-gitJörg Thalheim2016-12-14
|\ \ \ | | | | | | | | nix-prefetch-git: fix json output.
| * | | nix-prefetch-git: fix date fieldJörg Thalheim2016-12-05
| | | | | | | | | | | | | | | | | | | | in some cases `git show` include tag information in the output this is suppressed by the parameter '-1'
| * | | nix-prefetch-git: escape string fields properlyJörg Thalheim2016-12-05
| | | | | | | | | | | | | | | | json requires certain characters to be escaped in strings.
* | | | linkFarm: prefer local buildMichael Raskin2016-12-09
| | | |
* | | | fix win-dll-link.sh setup hook (#20925)Tomas Hlavaty2016-12-07
|/ / / | | | | | | | | | if a dll is symlink then dll files from the symlinked directory need to be taken
* | | rq: init at 0.9.2 (broken because our v8 is too old, and I'm too weak to ↵Aristid Breitkreuz2016-12-03
| | | | | | | | | | | | update v8)
* | | Remove fetchMD5warnEelco Dolstra2016-11-30
| | | | | | | | | | | | | | | | | | | | | | | | Deprecation warnings should not be used in Nixpkgs because they spam innocent "nix-env -qa" users with (in this case) dozens of messages that they can't do anything about. This also reverts commit 2ca883338389b7ab995924a0cab0211993bdf1da.
* | | stdenv moveToOutput: move even broken symlinksVladimír Čunát2016-11-26
| | | | | | | | | | | | | | | | | | | | | | | | I believe this reduces surprises and is actually simpler semantically. This is important e.g. for relative symlinks when moving both source and target - now the order of moving won't matter. Fixes #20723 (a particular instance of the surprise).
* | | Merge branch 'master' into stagingVladimír Čunát2016-11-26
|\ \ \ | | |/ | |/|
| * | dockerTools: rsync contents with -keep-dirlinksLazar Bodor2016-11-24
| | |
* | | Merge branch 'master' into stagingFranz Pletz2016-11-23
|\| |
| * | fetchFromGitHub: add fetchSubmodules optionAlexey Shmalko2016-11-18
| | | | | | | | | | | | | | | | | | | | | | | | This commit extends fetchFromGitHub with ability to fetch GitHub repositories with submodules, so we can use the function consistently with all GitHub repositories. Note it doesn't change the previous behavior.
* | | cc-wrapper: don't expand $ in response filesDavid McFarland2016-11-19
|/ / | | | | | | | | | | | | | | | | | | | | | | This makes the response file handling more consistent with GCC. For example, a reponse file may contain: "-Wl,$ORIGIN" GCC will treat this as a double quoted string and not expand the variable reference. Previously, cc-wrapper would expand the variable in the same was as if the string was provided on the command line.
* | singularity: init 2.2Justin Bedo2016-11-15
| |
* | Merge branch 'master' into stagingShea Levy2016-11-04
|\ \
| * \ Merge pull request #19982 from sternenseemann/netcatTim Steinbach2016-11-02
| |\ \ | | | | | | | | Make netcat-openbsd the default netcat
| | * | netcat: make netcat-openbsd the default netcat (#19411)sternenseemann2016-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for this change is the following: As gnu-netcat, e. g. does not support ipv6, it is not suitable as default netcat. This commit also fixes all obvious build issues caused by this change.
| * | | Merge pull request #20018 from adnelson/use_basename_dockerDaiderd Jordan2016-11-01
| |\ \ \ | | | | | | | | | | docker.buildUtils: use baseNameOf to allow for slashes in name
| | * | | docker.buildUtils: use baseNameOf to allow for slashes in nameTest2016-10-31
| | | | |
| * | | | gcc-cross-wrapper: Fix include pathBen Gamari2016-10-31
| | | | | | | | | | | | | | | Include files are typically in the libc package's `dev` output but previously `-isystem` was looking in `out`, resulting in my cross-compilation environment not finding its include files.
* | | | | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2016-10-31
|\| | | |
| * | | | Merge pull request #19931 from mguentner/ipfs_updateFranz Pletz2016-10-31
| |\ \ \ \ | | |_|/ / | |/| | | ipfs: i20160112 -> 0.4.4, fetchgx
| | * | | fetchgx: fetch dependencies with gx and gx-goFranz Pletz2016-10-29
| | | |/ | | |/|
* | | | Merge branch 'response-files' of git://github.com/corngood/nixpkgs into stagingShea Levy2016-10-31
|\ \ \ \ | |/ / / |/| | |
| * | | cc-wrapper: expand response filesDavid McFarland2016-10-31
| | | | | | | | | | | | | | | | Fixes #11762
* | | | fetchfile: remove unused fileAlexander Ried2016-10-29
| |/ / |/| |
* | | Merge remote-tracking branch 'upstream/master' into HEADFrederik Rietdijk2016-10-26
|\ \ \
| * | | dockerTools: Fix loop typo.Tom Boettcher2016-10-24
| | | | | | | | | | | | | | | | | | | | This typo was causing only a single layer to be de-duplicated, rather than all parent layers.
| * | | grsecurity: work around #19698Joachim Fasting2016-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a temporary work-around to fix using grsecurity on NixOS with the new kernelPackages/kernelPatches machinery. For whatever reason, when `security.grsecurity.enable = true`, the grsec patch ends up being applied twice, causing the kernel build to fail. Until the root cause of this is identified, we hack around it by simply pruning duplicate patches in the grsec kernel builder. Closes #19698
* | | | Merge remote-tracking branch 'upstream/master' into HEADFrederik Rietdijk2016-10-22
|\| | |
| * | | modules-closure: Use stdenvNoCCTuomas Tynkkynen2016-10-20
| | |/ | |/|
* / | cc-wrapper: fix detection of unsupported linker flags on cygwinDavid McFarland2016-10-18
|/ /
* | Merge staging without python splitting for nowVladimír Čunát2016-10-14
|\ \ | | | | | | | | | | | | The split needs more time to finish rebuilding, but the rest seems OK and there are security fixes.
| * | stdenv/stripHash: print to stdout, not to variableProfpatsch2016-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `stripHash` documentation states that it prints out the stripped name to the stdout, but the function stored the value in `strippedName` instead. Basically all usages did something like `$(stripHash $foo | echo $strippedName)` which is just braindamaged. Fixed the implementation and all invocations.
* | | Merge pull request #19024 from adnelson/docker_refactorJörg Thalheim2016-10-13
|\ \ \ | |/ / |/| | dockerTools: add docs to docker build functions