summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* ocamlPackages.buildOasis: fix handling of installation prefixVincent Laporte2020-07-02
|
* stream_layered_image: Use pathlib module for directory traversalUtku Demir2020-06-22
|
* stream_layered_image: Always set uid and gid to rootUtku Demir2020-06-21
|
* stream_layered_image: Clarify assertion failureUtku Demir2020-06-21
|
* stream_layered_image: Use more descriptive variable nameUtku Demir2020-06-21
|
* dockerTools: Properly quote a shell variableUtku Demir2020-06-21
|
* stream_layered_image: Add docstrings to functionsUtku Demir2020-06-21
|
* stream_layered_image: Add main methodUtku Demir2020-06-21
|
* dockerTools.streamLayeredImage: commentsUtku Demir2020-06-21
|
* stream_layered_image.py: commentsUtku Demir2020-06-21
|
* Set mtime in even more placesUtku Demir2020-06-21
|
* Set mtime to get more deterministic buildsUtku Demir2020-06-21
|
* Implement dockerTools.streamLayeredImageUtku Demir2020-06-21
|
* Merge pull request #91085 from hercules-ci/fix-dockerTools-nix-symlinksRobert Hensing2020-06-19
|\ | | | | Fix docker tools nix symlinks
| * dockerTools: keep symlinks to nix intactRobert Hensing2020-06-19
| |
| * dockerTools: test that tar keeps nix binary symlinks intactRobert Hensing2020-06-19
| |
* | Merge master into staging-nextFrederik Rietdijk2020-06-16
|\|
| * Merge pull request #90193 from danieldk/build-rs-feature-envAndreas Rammhold2020-06-16
| |\ | | | | | | buildRustCrate: set CARGO_FEATURE_* when running the build script
| | * buildRustCrate: set CARGO_FEATURE_* when running the build scriptDaniël de Kok2020-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cargo sets `CARGO_FEATURE_*` for all features when running a build script: https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-build-scripts Some crates have build scripts (e.g. openblas-src) that rely on the feature variables being properly set. Since we now need several representations of features, this change also updates `createFeatures` to be a list of features, rather than `rustc` feature arguments. `configureCrate` and `buildCrate` then build the required representations as-needed. Fixes #68978
| * | Merge pull request #89245 from alexarice/agda-literateLassulus2020-06-16
| |\ \ | | | | | | | | agda: install literate files
| | * | agda: install literate filesAlex Rice2020-06-01
| | | |
* | | | Merge staging-next into stagingFrederik Rietdijk2020-06-13
|\| | |
| * | | Merge master into staging-nextFrederik Rietdijk2020-06-13
| |\ \ \
| | * | | treewide: central.maven.org -> repo1.maven.orgvolth2020-06-12
| | | |/ | | |/|
| * | | Merge master into staging-nextFrederik Rietdijk2020-06-12
| |\| |
| | * | Merge pull request #89351 from dwarfmaster/fix-emacs-buildMatthew Bauer2020-06-11
| | |\ \ | | | | | | | | | | Fix building of emacsWithPackages not findind subdirs.el
| | | * | Fix building of emacsWithPackages not findind subdirs.elDwarfMaster2020-06-02
| | | | |
* | | | | Merge pull request #90004 from romildo/buildenvJosé Romildo Malaquias2020-06-11
|\ \ \ \ \ | |/ / / / |/| | | | buildenv: paths to link resolving to the same absolute path is not a conflict
| * | | | buildenv: paths to link resolving to the same absolute path is not a conflictJosé Romildo Malaquias2020-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building an environment if two paths conflict but one or both are symbolic links and they resolve to the same real path, the conflict is discarded because the contents of both paths are the same. One of them is chosen and there is no need to recur into them in order to build deeper symbolic links.
* | | | | Merge staging-next into stagingFrederik Rietdijk2020-06-08
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge master into staging-nextFrederik Rietdijk2020-06-08
| |\| | |
| | * | | rustPlatform: fix cross-compiling by using native diffhyperfekt2020-06-08
| | | | |
* | | | | Merge staging-next into stagingFrederik Rietdijk2020-06-05
|\| | | |
| * | | | Merge master into staging-nextFrederik Rietdijk2020-06-05
| |\| | |
| | * | | buildRustPackage: add documentation on how to create cargo.lock patchesJörg Thalheim2020-06-05
| | | | |
* | | | | Merge #82342: rustPlatform: increase build-speed of `checkPhase`Vladimír Čunát2020-06-05
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | ...for rust-packages (into staging)
| * | | | rustPlatform: add `buildAndTestSubdir`-argumentMaximilian Bosch2020-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are several tarballs (such as the `rust-lang/rust`-source) with a `Cargo.toml` at root and several sub-packages (with their own Cargo.toml) without using workspaces[1]. In such a case it's needed to move into a subdir to only build the specified sub-package (e.g. `rustfmt` or `rsl`), however the artifacts are at `/target` in the root-dir of the build environment. This breaks the build since `buildRustPackage` searches for executables in `target` (which is at the build-env's root) at the end of the `buildPhase`. With the optional `buildAndTestSubdir`-argument, the builder moves into the specified subdir using `pushd`/`popd` during `buildPhase` and `checkPhase`. Also moved the logic to find executables and libs to the end of the `buildPhase` from a custom `postBuild`-hook to fix packages with custom `build`/`install`-procedures such as `uutils-coreutils`. [1] https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html
| * | | | rustPlatform: make it possible to override the profile for `cargo test`Maximilian Bosch2020-05-13
| | | | |
| * | | | Merge branch 'staging-next' into PR 82342Vladimír Čunát2020-05-11
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Hydra nixpkgs: ?compare=1586582
| * | | | | rustPlatform: fix logMaximilian Bosch2020-05-08
| | | | | |
| * | | | | rustPlatform: don't install test executablesMaximilian Bosch2020-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done by gathering all binaries to install before running the checkPhase.
| * | | | | rustPlatform: increase build-speed of `checkPhase` for rust-packagesMaximilian Bosch2020-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running `cargo test --release`, the artifacts from `buildPhase` will be reused here. Previously, most of the stuff had to be recompiled without optimizations.
* | | | | | Merge master into staging-nextFrederik Rietdijk2020-06-04
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge pull request #87866 from danieldk/validate-pkgconfig-hookBenjamin Hipple2020-06-02
| |\ \ \ \ \ | | |_|_|/ / | |/| | | | validatePkgConfig: init
| | * | | | validatePkgConfig: initDaniël de Kok2020-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the `validatePkgConfig` hook, which can be used to validate pkg-config files in the output(s). Currently, this will just run `pkg-config --validate` on all `.pc` files, capturing errors such as the issue that was fixed in #87789. The hook could be extended in the future with more fine-grained checks.
| * | | | | Merge pull request #82258 from erikarvstedt/fix-xchg-cachingFlorian Klink2020-06-01
| |\ \ \ \ \ | | | | | | | | | | | | | | fix inconsistent caching of VM xchg dirs
| | * | | | | qemu-vm: fix inconsistent caching of xchg dirsErik Arvstedt2020-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xchg is advertised as a bidirectional exchange dir, but file content transfer from host to VM fails due to caching: If a file is read in the VM and then modified on the host, subsequent re-reads in the VM can yield old, cached data. This is caused by the use of 9p's cache=loose mode that is explicitly meant for read-only mounts. 9p doesn't provide any suitable cache modes, so fix this by disabling caching. Also, remove a now unnecessary sync in the test driver.
| * | | | | | appimage: replace radare2+jq with readelf+awk+sha256sumPavol Rusnak2020-05-29
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | radare2 does not play nicely with filenames containing spaces https://github.com/radareorg/radare2/issues/16958
* | | | | | Merge staging-next into stagingFrederik Rietdijk2020-05-27
|\| | | | |
| * | | | | buildRustCrate: Replace hyphen with underscore in env variables (#88054)Michael Howell2020-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add test case for include dir * buildRustCrate: replace hyphen with underscore in env This fixes a bug that prevents encoding_c from building.