about summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
...
| | * | | | | | | 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
| | | | | | | | |
* | | | | | | | | treewide: pkg-config has `targetPrefix`John Ericson2020-05-16
| |_|_|/ / / / / |/| | | | | | |
* | | | | | | | pkg-config-wrapper: InitJohn Ericson2020-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes longstanding build issues
* | | | | | | | Merge staging-next into stagingFrederik Rietdijk2020-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 pull request #83180 from matthewbauer/only-add-ldflags-for-macosMatthew Bauer2020-05-13
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | bintools: only add macos flags when targeting macOS
| * | | | | | | | bintools: only add macos flags when targeting macOSMatthew Bauer2020-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can’t set this for cross-compiling since we use the GNU linker. Instead, set these flags only when targetPlatform is macOS. Fixes #80754 Fixes #83141
* | | | | | | | | *-wrapper; Switch from `infixSalt` to `suffixSalt`John Ericson2020-05-12
| |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I hate the thing too even though I made it, and rather just get rid of it. But we can't do that yet. In the meantime, this brings us more inline with autoconf and will make it slightly easier for me to write a pkg-config wrapper, which we need.
* | | | | | | | 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.
* | | | | | | Merge master into staging-nextFrederik Rietdijk2020-04-22
|\| | | | | |
| * | | | | | Merge pull request #85680 from NixOS/fix-srconlyedef2020-04-21
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | srcOnly: ignore additional arguments
| | * | | | | srcOnly: ignore additional argumentsedef2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b32a057425b337b37db41d3b4a67d39657477c05, which breaks even the most straightforward uses of srcOnly: nix-repl> srcOnly guile error: anonymous function at /home/src/nixpkgs/pkgs/build-support/src-only/default.nix:1:1 called with unexpected argument 'drvPath', at /home/src/nixpkgs/lib/customisation.nix:69:16 nix-repl> srcOnly hello error: anonymous function at /home/src/nixpkgs/pkgs/build-support/src-only/default.nix:1:1 called with unexpected argument 'drvPath', at /home/src/nixpkgs/lib/customisation.nix:69:16 Link: https://github.com/NixOS/nixpkgs/pull/80903#issuecomment-617172927
* | | | | | | Merge master into staging-nextFrederik Rietdijk2020-04-21
|\| | | | | |
| * | | | | | blas,lapack: symlink headers when using mklMatthew Bauer2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of these are necessary for things like python.pkgs.numexpr
| * | | | | | blas,lapack: provide symlink for libmkl_rt.soMatthew Bauer2020-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for numpy to detect mkl correctly.
| * | | | | | blas,lapack: use isILP64 instead of is64bitMatthew Bauer2020-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a better name since we have multiple 64-bit things that could be referred to. LP64 : integer=32, long=64, pointer=64 ILP64 : integer=64, long=64, pointer=64
| * | | | | | blas,lapack: don’t patchelfMatthew Bauer2020-04-20
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | We have some unused RPATHs we don’t want shrunk. These are used in MKL to dlopen based on architecture.
* | | / / / Merge staging-next into stagingFrederik Rietdijk2020-04-21
|\| | | | | | |_|/ / / |/| | | |
| * | | | blas: fix build on darwinSébastien Maret2020-04-19
| | | | |
* | | | | gnat: init at 9.3.0Lars Jellema2020-04-20
| | | | |