summaryrefslogtreecommitdiff
path: root/pkgs/build-support (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge #214010: staging-next 2023-02-01Vladimír Čunát2023-02-138-14/+87
|\
| * Merge master into staging-nextgithub-actions[bot]2023-02-092-0/+83
| |\
| * \ Merge master into staging-nextgithub-actions[bot]2023-02-091-34/+46
| |\ \
| * \ \ Merge branch 'master' into staging-nextVladimír Čunát2023-02-081-1/+2
| |\ \ \
| * \ \ \ Merge master into staging-nextgithub-actions[bot]2023-02-072-4/+3
| |\ \ \ \
| * \ \ \ \ Merge master into staging-nextgithub-actions[bot]2023-02-071-0/+5
| |\ \ \ \ \
| * | | | | | libredirect: fix build on musl libc•••musl doesn't yet provide a wrapper for the statx syscall, so don't bother wrapping it here unless it's actually available. Noah Fontes2023-02-062-3/+3
| * | | | | | Merge master into staging-nextgithub-actions[bot]2023-02-062-0/+15
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge master into staging-nextgithub-actions[bot]2023-02-051-2/+2
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge master into staging-nextgithub-actions[bot]2023-02-051-2/+4
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'master' into staging-next•••pkgs/development/web/nodejs/v18.nix conflict: the fetched patch was already included in this release. Vladimír Čunát2023-02-031-1/+3
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge master into staging-nextgithub-actions[bot]2023-02-021-318/+385
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge staging-next into staginggithub-actions[bot]2023-02-011-1/+1
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge pull request #212678 from impl/libredirect-wrappers•••libredirect: add more wrappersRobert Scott2023-01-312-0/+70
| |\ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | libredirect: add tests for new wrappersNoah Fontes2023-01-261-0/+20
| | * | | | | | | | | | | | libredirect: add more wrappers•••This appears to satisfy the JVM and most coreutils programs like mkdir, etc., as used in self-contained installers like Revenera InstallAnywhere. Noah Fontes2023-01-251-0/+50
| * | | | | | | | | | | | | buildRustPackage: drop cacert•••not needed here, set by fetchCargoTarball zowoq2023-02-011-2/+0
| * | | | | | | | | | | | | cargo: move cert info to fetch-cargo-tarball•••As proposed in https://github.com/NixOS/nixpkgs/pull/82496, we should only set the related env vars for the fetcher instead of breaking the function of cargo itself. linsui2023-02-011-0/+3
| * | | | | | | | | | | | | Merge staging-next into staginggithub-actions[bot]2023-01-311-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge staging-next into staginggithub-actions[bot]2023-01-304-0/+87
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | build-support/cc-wrapper: revert "pass in non-existent --sysroot= to untangle...•••This reverts commit 8c80bd08b7e39229947d55104d1871f5066437d9 ("build-support/cc-wrapper: pass in non-existent --sysroot= to untangle from libc"). This change was good in spirit: we caught a few genuine problems with `scons` based packages (`godot`, `fluxus`) and unexpected `-idirafter` includes in various boot loadres (`ipxe`, wimboot`): https://github.com/NixOS/nixpkgs/pull/210004#issuecomment-1407162693 Unfortunately `--sysroot=` also has a negative impact on libary search order for DT_NEEDED libraries and RUNPATHs of linked libraries. This unexpectedly broke `dmd`, `d-seams`, `llvmPackages_rocm.compiler-rt`). An interesting case of unexpected breakage is `usbmuxd2` where the bug exposed incomplete library move on `libstdc++fs` in `gcc`. The library breakage is very non-intuitive (on top of already unusual layout of `cc-wrapper` driver). Let's revert this change for now. Once it lands we can undo `--sysroot=/` workarounds merged for `staging-next`. Sergei Trofimovich2023-01-291-7/+0
| * | | | | | | | | | | | | | | Merge staging-next into staginggithub-actions[bot]2023-01-281-0/+5
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge staging-next into staginggithub-actions[bot]2023-01-271-0/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #212286 from Artturin/runonall•••make-symlinks-relative: run on all outputsArtturi2023-01-251-1/+10
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | make-symlinks-relative: run on all outputsArtturin2023-01-231-1/+10
| * | | | | | | | | | | | | | | | | Merge staging-next into staginggithub-actions[bot]2023-01-252-1/+6
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge staging-next into staginggithub-actions[bot]2023-01-251-3/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge staging-next into staginggithub-actions[bot]2023-01-241-6/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge pull request #207294 from happyalu/stagingSandro2023-01-241-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | | | pkg-config: prepend added flags•••The go toolchain calls pkg-config using "--" to separate flags and packages. For example: pkg-config --cflags -- zlib This breaks if addFlags are appended. This commit therefore prepends the addFlags to the command. Alok Parlikar2022-12-221-1/+1
| * | | | | | | | | | | | | | | | | | | | | Merge pull request #212275 from alyssais/libdl•••treewide: remove -ldl linker flagsJohn Ericson2023-01-231-3/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | | | | treewide: remove -ldl linker flags•••With all libcs I'm aware of, libdl is now either empty (Glibc, musl, uclibc, illumos), a symlink to libc or equivalent (Apple), or does not exist (FreeBSD, NetBSD). So explicitly linking libdl now does nothing for the former platforms, and breaks the build for the latter platforms. With this patch I've removed -ldl from all overridden linker flags for all free packages in Nixpkgs. Everything still seems to build. Alyssa Ross2023-01-231-3/+3
* | | | | | | | | | | | | | | | | | | | | | | Merge pull request #215583 from thiagokokada/graalvm-ce-refactor•••graalvm*-ce: refactor, 22.3.0 -> 22.3.1Thiago Kenji Okada2023-02-131-3/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | graalvm-ce: add it to all-packages pointing to graalvm11-ceThiago Kenji Okada2023-02-121-2/+2
| * | | | | | | | | | | | | | | | | | | | | | bbin: inherit graalvmDrv from babashkaThiago Kenji Okada2023-02-111-0/+2
| * | | | | | | | | | | | | | | | | | | | | | native-image-installable-svm: init at 22.3.0•••Also refactor the buildGraalvm derivation, allowing it to compose with the other products. Thiago Kenji Okada2023-02-091-1/+1
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | Merge pull request #194345 from codedownio/binary-cache•••Introduce mkBinaryCache functionRobert Hensing2023-02-092-0/+83
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | Introduce mkBinaryCache functionTom McLaughlin2023-02-072-0/+83
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge pull request #158486 from ShamrockLee/singularity-apptainer•••singularity: fix defaultPath and reflect upstream changesJustin Bedő2023-02-081-34/+46
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | apptainer, singularity: fix defaultPath and reflect upstream changes•••Upstream changes: singularity 3.8.7 (the legacy) -> apptainer 1.1.3 (the renamed) / singularity 3.10.4 (Sylabs's fork) Build process: * Share between different sources * Fix the sed regexp to make defaultPath patch work * allowGoReference is now true * Provied input parameter removeCompat (default to false) that removes the compatible "*singularity*" symbolic links and related autocompletion files when projectName != "singularity" * Change localstatedir to /var/lib * Format with nixpkgs-fmt * Fix the defaultPath patching and use it instead of the `<executable> path` config directive deprecated in Apptainer * Provide dependencies for new functionalities such as squashfuse (unprivileged squashfs mount) * Provide an attribute `defaultPathInputs` to override prefix of container runtime default PATH NixOS module programs.singularity: * Allow users to specify packages * Place related directories to /var/lib * Format with nixpkgs-fmt singularity-tools: * Allow users to specify packages * Place related directories to /var/lib when building images in VM Yueh-Shun Li2023-02-081-11/+18
| * | | | | | | | | | | | | | | | | | | | singularity-tool: format expressionYueh-Shun Li2023-02-081-26/+31
| |/ / / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | | | Merge pull request #215093 from thiagokokada/graalvm-native-compile-fix-libs•••graalvm*-ce: wrap native-image to pass -H:CLibraryPath, misc improvementsThiago Kenji Okada2023-02-081-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | graalvm*-ce: wrap native-image to pass -H:CLibraryPath, misc improvements•••Fixes issue #214922 by not adding C libraries to the default library path of GraalVM. This should reduce the closure size of native compiled binaries in nixpkgs again, e.g.: Before: ``` $ ldd ./result/bin/bb linux-vdso.so.1 (0x00007fff2669b000) libstdc++.so.6 => /nix/store/qbgfsaviwqi2p6jr7an1g2754sv3xqhn-gcc-11.3.0-lib/lib/libstdc++.so.6 (0x00007f77fc0cf000) libm.so.6 => /nix/store/l7vp7c9z03dspbmss3gq5wdwx5c6ifcq-graalvm11-ce-22.3.0/lib/svm/clibraries/linux-amd64/libm.so.6 (0x00007f77fbfef000) libpthread.so.0 => /nix/store/l7vp7c9z03dspbmss3gq5wdwx5c6ifcq-graalvm11-ce-22.3.0/lib/svm/clibraries/linux-amd64/libpthread.so.0 (0x00007f77fbfea000) libdl.so.2 => /nix/store/l7vp7c9z03dspbmss3gq5wdwx5c6ifcq-graalvm11-ce-22.3.0/lib/svm/clibraries/linux-amd64/libdl.so.2 (0x00007f77fbfe5000) librt.so.1 => /nix/store/l7vp7c9z03dspbmss3gq5wdwx5c6ifcq-graalvm11-ce-22.3.0/lib/svm/clibraries/linux-amd64/librt.so.1 (0x00007f77fbfde000) libc.so.6 => /nix/store/l7vp7c9z03dspbmss3gq5wdwx5c6ifcq-graalvm11-ce-22.3.0/lib/svm/clibraries/linux-amd64/libc.so.6 (0x00007f77fbdd5000) /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/ld-linux-x86-64.so.2 => /nix/store/9xfad3b5z4y00mzmk2wnn4900q0qmxns-glibc-2.35-224/lib64/ld-linux-x86-64.so.2 (0x00007f77fc2e7000) libgcc_s.so.1 => /nix/store/qbgfsaviwqi2p6jr7an1g2754sv3xqhn-gcc-11.3.0-lib/lib/libgcc_s.so.1 (0x00007f77fbdbb000) ``` After: ``` $ ldd ./result/bin/bb linux-vdso.so.1 (0x00007fffdfd4e000) libstdc++.so.6 => /nix/store/qbgfsaviwqi2p6jr7an1g2754sv3xqhn-gcc-11.3.0-lib/lib/libstdc++.so.6 (0x00007fc3a5658000) libm.so.6 => /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/libm.so.6 (0x00007fc3a5578000) libpthread.so.0 => /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/libpthread.so.0 (0x00007fc3a5573000) libdl.so.2 => /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/libdl.so.2 (0x00007fc3a556e000) librt.so.1 => /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/librt.so.1 (0x00007fc3a5569000) libc.so.6 => /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/libc.so.6 (0x00007fc3a535e000) /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/ld-linux-x86-64.so.2 => /nix/store/9xfad3b5z4y00mzmk2wnn4900q0qmxns-glibc-2.35-224/lib64/ld-linux-x86-64.so.2 (0x00007fc3a5870000) libgcc_s.so.1 => /nix/store/qbgfsaviwqi2p6jr7an1g2754sv3xqhn-gcc-11.3.0-lib/lib/libgcc_s.so.1 (0x00007fc3a5344000) ``` Also improves the installCheckPhase to include more tests and improve the old onest . Thiago Kenji Okada2023-02-071-1/+2
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Revert "rustPlatform.bindgenHook: use the same clang/libclang as rustc"•••This reverts commit 46ee37ca1d9cd3bb18633b4104ef21d9035aac89, as it breaks anything that uses libcxx on Darwin, as well as cross-compilation to at least armv6l. As there's no clear solution at this time, reverting it is the best option, as this only reduces build time closure size (something we can arguably live with). https://github.com/NixOS/nixpkgs/pull/207352#issuecomment-1418363441 https://github.com/NixOS/nixpkgs/pull/207352#issuecomment-1420124250 Winter2023-02-071-2/+3
* | | | | | | | | | | | | | | | | | | Merge pull request #206773 from SuperSandro2000/cleanup-unused-bindings•••treewide: cleanup some unused bindingsfigsoda2023-02-061-2/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | treewide: cleanup some unused bindingsSandro Jäckel2023-02-071-2/+0
* | | | | | | | | | | | | | | | | | | buildGoModule: make the vendor fetcher error if it is emptyzowoq2023-02-071-0/+5
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge pull request #214304 from obsidiansystems/pkg-config-meta•••meta.pkgConfigModules: Init conventionJohn Ericson2023-02-062-0/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | meta.pkgConfigModules: Init convention•••See docs. Follow-up work: - Existing packages should be converted - `defaultPkgConfigPackages` should assert on `meta.pkgConfigModules` and let `tests.pkg-config` alone test the build results. CC @sternenseemann Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> John Ericson2023-02-032-0/+15
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | symlinkJoin: print warning when keeping existing filemilahu2023-02-051-2/+2
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | |