about summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* cc-wrapper: allow building without documentation, propagate info pagesJan Malakhovski2018-02-26
|
* bintools-wrapper: allow building without documentationJan Malakhovski2018-02-26
|
* Merge staging and PR #35021Vladimír Čunát2018-02-16
|\ | | | | | | | | It's the last staging commit (mostly) built on Hydra, and a minimal fix for Darwin regression in pysqlite.
| * Merge remote-tracking branch 'upstream/master' into HEADFrederik Rietdijk2018-02-14
| |\
| * | bintools-wrapper: teach about musl dynamic linkersWill Dietz2018-02-13
| | |
* | | makeModulesClosure: support firmwareNikolay Amiantov2018-02-16
| |/ |/| | | | | Link it in stage 1.
* | dockerTools.buildImage: do not add /nix/store in the tar streamAntoine Eiche2018-02-14
| | | | | | | | | | | | | | Since the /nix/store directory is not immutable, tar can fails if it has to push it into the layer archive. Fixes #34137.
* | buildRustCrate: add a postInstall phase (#34906)Stewart Mackenzie2018-02-13
|/
* Merge branch 'patch-9' of git://github.com/matthewbauer/nixpkgsShea Levy2018-02-12
|\
| * Filter nix-buffer packagesMatthew Justin Bauer2018-02-11
| | | | | | Null packages cause an error
* | Merge pull request #34611 from peterhoeg/p/descentPeter Hoeg2018-02-12
|\ \ | |/ |/| descent 1 & 2: use assets from gog.com with the dxx-rebirth project
| * build-support gogUnpackHook: support for unpacking games from gog.comPeter Hoeg2018-02-12
| |
* | defaultCrateOverrides: add pq-syspe@pijul.org2018-02-10
| | | | | | | | fixes #34228
* | defaultCrateOverrides: add thrussh-libsodiumpe@pijul.org2018-02-10
| |
* | setup-hooks: Add autoPatchelfHookaszlig2018-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I originally wrote this for packaging proprietary games in Vuizvui[1] but I thought it would be generally useful as we have a fair amount of proprietary software lurking around in nixpkgs, which are a bit tedious to maintain, especially when the library dependencies change after an update. So this setup hook searches for all ELF executables and libraries in the resulting output paths after install phase and uses patchelf to set the RPATH and interpreter according to what dependencies are available inside the builder. For example consider something like this: stdenv.mkDerivation { ... nativeBuildInputs = [ autoPatchelfHook ]; buildInputs = [ mesa zlib ]; ... } Whenever for example an executable requires mesa or zlib, the RPATH will automatically be set to the lib dir of the corresponding dependency. If the library dependency is required at runtime, an attribute called runtimeDependencies can be used to list dependencies that are added to all executables that are discovered unconditionally. Beside this, it also makes initial packaging of proprietary software easier, because one no longer has to manually figure out the dependencies in the first place. [1]: https://github.com/openlab-aux/vuizvui Signed-off-by: aszlig <aszlig@nix.build> Closes: #34506
* | way-cooler: 0.6.2 -> 0.8.0gnidorah2018-02-04
| |
* | rust: fix evaluationJörg Thalheim2018-02-04
| |
* | cargo-vendor: move to all-packagesJörg Thalheim2018-02-03
| |
* | carnix: 0.6.0 -> 0.6.5pe@pijul.org2018-02-03
| |
* | Merge pull request #33980 from thefloweringash/cargo-vendor-carnixJörg Thalheim2018-02-03
|\ \ | | | | | | cargo-vendor: Build from source using carnix
| * | cargo-vendor: Build from source using carnixAndrew Childs2018-01-18
| | | | | | | | | | | | Removes a binary bootstrap, and enables cargo-vendor on aarch64.
| * | buildRustCrate: Allow arbitrary attributes in crateOverridesAndrew Childs2018-01-18
| | |
* | | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-02-03
|\ \ \
| * | | Add setFunctionArgs lib function.Shea Levy2018-01-31
| | |/ | |/| | | | | | | | | | | | | Among other things, this will allow *2nix tools to output plain data while still being composable with the traditional callPackage/.override interfaces.
* | | Merge branch 'master' into stagingVladimír Čunát2018-02-01
|\| | | | | | | | | | | | | | Haskell rebuild. Hydra: ?compare=1430378
| * | runInLinuxVM: Use QEMU command line that works on other architecturesTuomas Tynkkynen2018-01-30
| | | | | | | | | | | | | | | ... by moving the existing definition to qemu-flags.nix and reusing that.
| * | runInLinuxVM: Don't hardcode x86-specific serial deviceTuomas Tynkkynen2018-01-30
| | |
* | | Merge branch 'master' into stagingVladimír Čunát2018-01-27
|\| | | | | | | | | | | Hydra: ?compare=1429281
| * | 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)
* | | Merge remote-tracking branch 'upstream/master' into HEADFrederik Rietdijk2018-01-22
|\| |
| * | 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.
* | | patchShebangs: preserve times, resolves #33084Yegor Timoshenko2018-01-21
|/ / | | | | | | | | | | Close #33281. Edits by vcunat: - use Eelco's idea: empty file instead of full copy - use longer name suffix to decrease the likelihood of collision
* | 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
| |