about summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* 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.
* Merge pull request #88856 from zowoq/prefetch-dockeradisbladis2020-05-25
|\ | | | | dockerTools: fix skopeo commands
| * dockerTools: fix skopeo commandszowoq2020-05-25
| |
* | treewide: replace bazaar with breezyrnhmjoj2020-05-25
|/
* fetchgitlab: escape rev to support "+" in itFlorian Klink2020-05-24
|
* Merge pull request #88762 from alexbiehl/alex/docker-toolsShea Levy2020-05-24
|\ | | | | dockerTools: Properly add /nix/ and /nix/store/ first to layer.tar
| * dockerTools: Properly add /nix/ and /nix/store/ first to layer.tarAlex Biehl2020-05-24
| | | | | | | | | | | | | | | | | | | | | | | | In https://github.com/NixOS/nixpkgs/pull/58431 the authors ensured that the resulting layer.tar would always list /nix/ /nix/store/ first to fully comply to the tar spec. Various refactorings later it is only ensured to create /nix/ but NOT /nix/store anymore. Instead tar transformed them to /nix/nix and /nix/nix/store.
* | Merge pull request #69144 from SFrijters/gdcMatthew Bauer2020-05-23
|\ \ | | | | | | gdc: init at 9.3.0
| * | gdc: init at 9.3.0Stefan Frijters2020-05-19
| |/
* / skawarePackages.cleanPackaging: copy docFiles before rm noiseProfpatsch2020-05-21
|/
* Merge pull request #87154 from utdemir/buildimage-optimizationslewo2020-05-19
|\ | | | | Some performance optimizations to dockerTools.build{,Layered}Image
| * dockerTools: Calculate tarsum's on the flyUtku Demir2020-05-07
| | | | | | | | | | | | | | | | Calculating the tarsum after creating a layer is inefficient, since we have to read the tarball we've just written from the disk. This commit simultaneously calculates the tarsum while creating the tarball.
| * dockerTools.buildLayeredImage: Avoid appending to tarballs when building layersUtku Demir2020-05-07
| | | | | | | | | | | | | | Appending to an existing tar archive repeatedly seems to be a quadratic operation, since tar seems to traverse the existing archive even using the `-r, --append` flag. This commit avoids that by passing the list of files to a single tar invocation.
* | dockerTools: pass insecure-policy and tmpdir to skopeozowoq2020-05-16
| |
* | Merge pull request #87725 from nlewo/fix-dockertoolslewo2020-05-15
|\ \ | | | | | | dockerTools.examples: fix the nginx image
| * | dockerTools.examples: fix the nginx imageAntoine Eiche2020-05-13
| | | | | | | | | | | | | | | | | | | | | Nginx now requires directories `/var/log/nginx` and `/var/cache/nginx` to be existing. The objective is to fix the test `nixosTests.docker-tools`.
* | | Merge pull request #87253 from utdemir/dockertools-preserve-envlewo2020-05-15
|\ \ \ | | | | | | | | Preserve environment variables from the parent image on dockerTools.buildImage
| * | | dockerTools.buildImage: Preserve environment variables from the parent imageUtku Demir2020-05-08
| | | |
* | | | Merge pull request #76653 from alexarice/agda-reworkDmitry Kalinkin2020-05-14
|\ \ \ \ | |_|/ / |/| | | Agda rework
| * | | agda: rework builderAlex Rice2020-05-14
| | | |
* | | | Merge pull request #87314 from matthewbauer/bazel-flatMatthew Bauer2020-05-11
|\ \ \ \ | | | | | | | | | | build-bazel-package: switch hash mode to “flat”
| * | | | build-bazel-package: pass proxy env varsMatthew Bauer2020-05-09
| | | | |
| * | | | build-bazel-package: switch hash mode to “flat”Matthew Bauer2020-05-09
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flat hashes can be substituted through hashed-mirrors, while recursive hashes can’t. This is especially important for Bazel since the bazel fetch dependencies can come from multiple different methods (git, http, ftp, etc.). To do this, we create tar archives from the output/external directory, which is then extracted to build. All of the Bazel hashes are all updated.
* | | | Merge master into staging-nextFrederik Rietdijk2020-05-11
|\ \ \ \
| * | | | php.buildPecl: Allow PECLs to depend on other PECLstalyz2020-05-09
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some PECLs depend on other PECLs and, like internal PHP extension dependencies, need to be loaded in the correct order. This makes this possible by adding the argument "peclDeps" to buildPecl, which adds the extension to buildInputs and is treated the same way as internalDeps when the extension config is generated.
* | | | Merge staging-next into stagingFrederik Rietdijk2020-05-08
|\| | |
| * | | Merge master into staging-nextFrederik Rietdijk2020-05-05
| |\ \ \ | | | |/ | | |/|
| | * | Merge pull request #85410 from matthewbauer/skip-post-fetch-in-hashed-mirrorsBenjamin Hipple2020-05-04
| | |\ \ | | | | | | | | | | fetchurl: don’t run ‘postFetch’ on hashed-mirrors
| | | * | fetchurl: don’t run ‘postFetch’ on hashed-mirrorsMatthew Bauer2020-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hashed-mirrors are content addressed. So if $outputHash is in the hashed-mirror, changes from ‘postFetch’ would already be made. So, running postFetch will end up applying the change /again/, which we don’t want.
| | * | | nix-prefetch-git: also add store path to json outputJörg Thalheim2020-05-04
| | | | |
| | * | | treewide: use https for nixos.org and hydra.nixos.orgPavol Rusnak2020-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | tarballs.nixos.org is omitted from the change because urls from there are always hashed and checked
| | * | | dockertools: Add a buildLayeredImageWithNixDb functionadisbladis2020-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | This is analogous to buildImageWithNixDb but instead uses buildLayeredImage under the hood.
* | | | | rustPlatform: fix bug with ambiguous diff toolBenjamin Hipple2020-05-06
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a user provides `nativeBuildInputs = [ llvmPackages.bintools ]` or any other package containing a `${prefix}/bin/diff`, the builder could use it instead of the standard unix `diff`, causing a build failure. This updates the call to specify an abspath to `diff` and avoid reliance on `PATH`. Resolves #87081
* | | | Merge master into staging-nextFrederik Rietdijk2020-05-02
|\| | |
| * | | appimage: fix r2 commands with newer radare2 versionJörg Thalheim2020-05-01
| | | |
* | | | Merge staging-next into stagingFrederik Rietdijk2020-05-01
|\| | |
| * | | buildDunePackage: add support for parallel buildMario Rodas2020-04-29
| | | | | | | | | | | | | | | | dune allows to specify the number of jobs to build the package.
* | | | Merge pull request #85653 from veprbl/pr/darwin_binutils_add_manFrederik Rietdijk2020-05-01
|\ \ \ \ | |/ / / |/| | | darwin.binutils: propagate man pages from darwin.cctools
| * | | bintools-wrapper: only propagate .info output if it exists in the originalDmitry Kalinkin2020-04-20
| | | |
* | | | nix-prefetch-docker: Add `jq` into pathSimonas Kazlauskas2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | Otheriwse running the tool fails with line 41: jq: command not found
* | | | Merge pull request #85750 from zimbatm/srcOnly-docszimbatm2020-04-27
|\ \ \ \ | | | | | | | | | | srcOnly: fix invocation and document
| * | | | srcOnly: rename buildInputs to nativeBuildInputszimbatm2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only reason to pass build inputs is to extend the unpackPhase with custom unpack commands. Eg: add "unrar" to unpack rar sources. And those should really be passed as native build inputs. Why? Because nativeBuildInputs is for dependencies that are used at build time but will not propagate as runtime dependencies. And also, cross-compilation.
| * | | | srcOnly: fix invocation and documentzimbatm2020-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, callPackage would try and fill the arguments such as `name` and `src` which would cause problems if those existed as top-level attributes. This also makes it clearer what part is the function signature. Then document the derivation inline in the code to explain the ellipsis and various use-cases.
* | | | | Merge pull request #85952 from LnL7/darwin-lapackDmitry Kalinkin2020-04-26
|\ \ \ \ \ | |_|_|_|/ |/| | | | lapack: fix darwin library identifiers
| * | | | lapack: fix darwin library identifiersDaiderd Jordan2020-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The build system already sets these properly to the absolute path so no need to patch the libraries on darwin. $ otool -D result/lib/liblapacke.dylib result/lib/liblapacke.dylib: /nix/store/k88gy5s765yn3dc5ws3jbykyvklm7z96-openblas-0.3.8/lib/libopenblasp-r0.3.8.dylib Fixes #85713
* | | | | Merge pull request #85255 from Infinisil/sanitize-run-command-nameSilvan Mosberger2020-04-25
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | trivial-builders: Sanitize derivation nameSilvan Mosberger2020-04-15
| | |_|/ | |/| | | | | | | | | | | | | | This then supports using functions like writeShellScriptBin with script names that would be invalid as derivation names
* | | | Merge master into staging-nextFrederik Rietdijk2020-04-23
|\ \ \ \
| * \ \ \ Merge pull request #85799 from matthewbauer/blas-lapack-expand-docsBenjamin Hipple2020-04-22
| |\ \ \ \ | | |_|/ / | |/| | | BLAS/LAPACK fixup and expand docs
| | * | | blas,lapack: use correct name for libraryMatthew Bauer2020-04-22
| | | | | | | | | | | | | | | | | | | | To match the soname, we need to use libblas.so.3, liblapack.so.3.