about summary refs log tree commit diff
path: root/pkgs/build-support
AgeCommit message (Collapse)AuthorFilesLines
2021-11-03Merge pull request #144052 from hercules-ci/improve-trivial-builders-testRobert Hensing4-28/+41
test.trivial-builders: Add test cases, fix test runner, rename
2021-11-02Merge pull request #143629 from sternenseemann/writers-fixesLassulus1-2/+6
writers: fix writeHaskell* for darwin, bintools-related cleanup
2021-11-01Merge master into staging-nextgithub-actions[bot]1-0/+28
2021-11-01buildDotnetModule: add support for running unit testsIvarWithoutBones1-0/+28
2021-11-01test.trivial-builders: Add test cases, fix test runner, renameRobert Hensing4-28/+41
The writeStringReferencesToFile didn't handle non-unique references to the same path correctly.
2021-10-29Merge master into staging-nextgithub-actions[bot]2-16/+33
2021-10-29buildDotnetModule: create nuget source seperately && use stdenvNoCCIvarWithoutBones1-11/+29
2021-10-29Merge pull request #143347 from SuperSandro2000/appimage-wrapType2-pname-versionSandro1-5/+4
2021-10-29writers: run fixupPhase for darwin bin writerssternenseemann1-0/+4
mach-o executables we produce in writers are not always fully valid for some reason. In normal derivation this is fixed in fixupPhase and we can replicate this behavior here easily. Resolves #132660.
2021-10-29writers: use platform's default stripsternenseemann1-2/+2
bintools points to the default bintools (e. g. cctools, binutils, llvmPackages.bintools) for the next stage. So instead of using GNU binutils' strip which may not support the current platform, we need to use buildPackages.bintools-unwrapped. Additionally we need to use `-S` over `--strip-unneeded` as the latter is a GNU binutils-specific flag and not supported by cctools. Also add the correct targetPrefix in order to support cross-compilation correctly here at least.
2021-10-28Merge remote-tracking branch 'origin/master' into staging-nextMartin Weinelt2-7/+20
2021-10-29fetchYarnDeps: use fakeSha256 if no hash is givenYureka1-1/+1
2021-10-29prefetch-yarn-deps: ignore file: dependenciesYureka1-0/+2
2021-10-29prefetch-yarn-deps: support git:// dependenciesYureka1-6/+17
2021-10-28appimage: support pname+version for wrapType2Sandro Jäckel1-5/+4
2021-10-28Merge master into staging-nextgithub-actions[bot]3-5/+109
2021-10-28trivial-builders: Add writeStringReferencesToFiletalyz3-5/+109
Add writeStringReferencesToFile, a builder which extracts a string's references to derivations and paths and writes them to a text file, removing the input string itself from the dependency graph. This is useful when you want to make a derivation depend on the string's references, but not its content (to avoid unnecessary rebuilds, for example).
2021-10-28Merge master into staging-nextgithub-actions[bot]1-0/+28
2021-10-27default-crate-overrides: remove two crates that are probably irrelevantKerstin Humm1-9/+0
2021-10-28default-crate-overrides: expat-sys, glib-sys, libudev-sys, sdl2-sys, ↵Kerstin Humm1-0/+37
servo-fontconfig, skia-bindings
2021-10-27Merge master into staging-nextgithub-actions[bot]7-152/+55
2021-10-27Merge pull request #142616 from r-burns/toplevel-systemRyan Burns1-2/+0
treewide: remove toplevel `system` attr
2021-10-27releaseTools.antBuild: removebb010g3-150/+0
The sole consumer in Nixpkgs of `releaseTools.antBuild` is `pkgs/development/libraries/junit`, which has been broken since 2015-09-08. The sole consumer in Nixpkgs of `junit` is `pkgs/development/libraries/junixsocket`, which hasn't built due to `junit` since 2015-09-08. All three are removed due to their obvious lack of use. All other packages in Nixpkgs depending on junit consume `pkgs/development/java-modules/junit`, which is not broken. Any downstreams that have kept using these `junit` or `junixsocket` packages since 2015-09-08 have basically already vendored the packages via patching them, so no aliases are provided.
2021-10-27canonicalize-jars-hook: addbb010g3-0/+55
A build hook to run functions previously only implemented privately in `pkgs/build-support/release/functions.sh`.
2021-10-25Merge master into staging-nextgithub-actions[bot]3-8/+19
2021-10-25dockerTools: Fix testRobert Hensing1-0/+1
2021-10-25patchutils: add 0.4.2 variant + remove meta.executable + enable tests + fix ↵Artturi1-0/+8
inter-dependencies by wrapping (#141567)
2021-10-25Merge pull request #142218 from IvarWithoutBones/use/nbxporer-buildDotnetModulePavol Rusnak1-8/+10
{btcpayserver,nbxplorer}: use buildDotnetModule
2021-10-25buildDotnetModule: fix variable handlingIvarWithoutBones1-8/+10
2021-10-23Merge master into staging-nextgithub-actions[bot]1-3/+3
2021-10-23prefetch-yarn-deps: add nix dependency (#142664)Yuka1-3/+3
fixes "Error: spawn nix-hash ENOENT"
2021-10-22build-support/docker: remove toplevel system attrRyan Burns1-2/+0
2021-10-22Merge remote-tracking branch 'origin/master' into staging-nextJonathan Ringer2-5/+5
Conflicts: pkgs/development/python-modules/jupyter-client/default.nix pkgs/development/python-modules/jupyterlab-git/default.nix
2021-10-21Merge pull request #141789 from pennae/eval-optSilvan Mosberger1-1/+1
lib: make extendDerivation lighter on eval
2021-10-21Merge pull request #138033 from mikepurvis/allow-gitlab-protocol-overridePavol Rusnak1-4/+4
Allow overriding fetchFromGitLab protocol.
2021-10-20Merge master into staging-nextgithub-actions[bot]6-0/+281
2021-10-20fetchYarnDeps, mkYarnModules: verify the FOD hash is up-to-dateYureka1-5/+6
2021-10-20prefetch-yarn-deps, fetchYarnDeps: initYureka6-0/+280
2021-10-20Merge master into staging-nextgithub-actions[bot]2-24/+16
2021-10-19Merge pull request #142154 from figsoda/cargo-hash-default-nullfigsoda2-24/+16
buildRustPackage,fetchCargoTarball: accept empty hashes
2021-10-19buildRustPackage,fetchCargoTarball: accept empty hashesfigsoda2-14/+8
2021-10-19buildRustPackage: remove unused arguments, minor styling changesfigsoda1-10/+8
2021-10-19Merge branch 'master' into staging-nextVladimír Čunát3-1/+11
2021-10-19Merge pull request #98214 from turion/dev_test_all_agda_packagesManuel Bärenz2-0/+10
Fix #98209. Test all agda packages
2021-10-19Merge pull request #139571 from prusnak/dotnet-cleanupPavol Rusnak1-1/+1
dotnet: cleanup; point dotnet-sdk alias to 5.0; remove unsupported SDKs
2021-10-18dotnet: cleanup; point dotnet-sdk alias to 5_0; remove unsupported SDKsPavol Rusnak1-1/+1
2021-10-18Merge master into staging-nextgithub-actions[bot]2-1/+18
2021-10-18dockerTools: Fix and test #118722 path in contentsRobert Hensing2-1/+18
2021-10-15lib: make extendDerivation lighter on evalpennae1-1/+1
the fix to extendDerivation in #140051 unwittingly worsened eval performance by quite a bit. set elements alone needed over 1GB extra after the change, which seems disproportionate to how small it was. if we flip the logic used to determine which outputs to install around and keep a "this one exactly" flag in the specific outputs instead of a "all of them" in the root we can avoid most of that cost.
2021-10-15Merge remote-tracking branch 'origin/staging' into staging-nextMartin Weinelt4-4/+18