about summary refs log tree commit diff
path: root/pkgs/build-support
AgeCommit message (Collapse)AuthorFilesLines
2024-05-22Merge staging-next into staginggithub-actions[bot]1-2/+4
2024-05-21Merge pull request #312241 from tpwrules/bwrap-better-displayK9001-2/+4
buildFHSEnvBubblewrap: allow more varied $DISPLAY syntax
2024-05-21Merge staging-next into staginggithub-actions[bot]1-1/+2
2024-05-21bintools: Add dynamic loader path for FreeBSD nativeAudrey Dutcher1-1/+1
2024-05-21bintools: Add an assertion which produces better error messagesAudrey Dutcher1-0/+1
2024-05-21Merge staging-next into staginggithub-actions[bot]2-3/+8
2024-05-21Merge pull request #311069 from nbraud/fix-307770Robert Hensing2-3/+8
testers.hasPkgConfigModules: fix bug in `versionCheck` handling
2024-05-20buildDotnetModule: do not run dotnet command using envIvan Trubach4-6/+6
There should be no reason to use env here: 1. In places where it is used to run dotnet with environment variables, the same can be done with shell syntax. For example, `env "FOO=$bar" baz` is equivalent to `FOO="$bar" baz`. 2. Otherwise, it just unnecessarily forces PATH lookup for dotnet command. In addition to that, some dotnet invocations did not use env.
2024-05-19php.packages.composer: do not use `buildComposerProject`Pol Dellaiera1-2/+0
I decided to avoid the use of `buildComposerProject because it requires `composer-local-repo-plugin` which is going to be refactored.
2024-05-19build-support/php: use `php.packages.composer-local-repo-plugin`Pol Dellaiera5-127/+5
2024-05-19php.buildComposerWithPlugin: init new builderPol Dellaiera4-0/+270
2024-05-18rustPlatform: --frozen -> --offlineAlyssa Ross4-4/+4
--frozen is stricter than we need in Nixpkgs. If a Cargo.lock is slightly wrong, or (in my use case) if building a subproject that is not a member of the top-level workspace, but the correct Cargo.lock can be entirely resolved from the existing top-level Cargo.lock, it should be deterministic, and shouldn't cause any problems, to let cargo generate the new Cargo.lock. This should result in less need to bother upstreams about fixing their Cargo.lock files in cases where they could have been automatically fixed.
2024-05-17make-binary-wrapper: add cc to propagatedBuildInputsArtemis Tosini1-1/+1
Adding cc to propagatedBuildInputs makes derivations with makeBinaryWrapper in nativeBuildInputs run the cc-wrapper setup hook. This isn't an issue for derivations using stdenv, as the cc setup hook is already run by default. However, derivations that are made with stdenvNoCC, e.g. because they're made with runCommand, will not run the cc-wrapper setup hook without this change. For some reason the FreeBSD native compiler will not work correctly without the setup hook.
2024-05-17build-support/php: add `composerGlobal` variablePol Dellaiera1-2/+13
This doesn't change anything to the existing workflow
2024-05-16buildFHSEnvBubblewrap: allow more varied $DISPLAY syntaxThomas Watson1-2/+4
The $DISPLAY variable has a format of [host]:num[.screen]. Previously, the number would only be extracted properly if it had the form :num. Allow all forms but correctly discard the unused parts.
2024-05-14deterministic-uname: add support for FreeBSDAudrey Dutcher2-0/+4
2024-05-14Merge pull request #279260 from SuperSamus/multiPkgs-false-removeAtemu1-1/+1
treewide: remove `multiArch=false` and wrong usage of `extraPkgs`
2024-05-13wrapAppImage: default `extraPkgs` to `pkgs: [ ]`Martino Fontana1-1/+1
Sane default in preparation for the next commit.
2024-05-13Merge pull request #310325 from patka-123/php-default-updatescript2Pol Dellaiera1-0/+8
buildsupport/php: add passthru.updateScript
2024-05-12fixup! testers.hasPkgConfigModules: don't display ❌ on ignored version ↵nicoo1-1/+1
mismatches
2024-05-12testers.hasPkgConfigModules: don't display ❌ on ignored version mismatchesnicoo1-1/+1
2024-05-12testers.hasPkgConfigModules: fix `versionCheck` conditionalnicoo1-1/+1
Broke tests, as the version check was effectively always enabled: https://github.com/NixOS/nixpkgs/pull/307770#issuecomment-2102586718
2024-05-12tests.testers.hasPkgConfigModules: test the `versionCheck` parameternicoo1-1/+6
Shell script is currently buggy and effectively ignores the value, always enforcing version match: https://github.com/NixOS/nixpkgs/pull/307770#issuecomment-2102586718
2024-05-11Merge master into staging-nextgithub-actions[bot]1-0/+4
2024-05-11Merge pull request #310453 from RaitoBezarius/lix-prepsRyan Lahfa1-0/+4
build-support/meson: explicitly use ambiant CMake during cross compilation
2024-05-11Merge master into staging-nextgithub-actions[bot]1-15/+27
2024-05-11build-support/meson: explicitly use ambiant CMake during cross compilationRaito Bezarius1-0/+4
Thanks to Qyriad, it was found out that Nixpkgs was unable to cross compile when CMake was needed at cross compilation time with Meson because Meson refuse to use the ambiant CMake. A simple fix is to always provide the ambiant CMake and trust the packager to pass the right CMake, otherwise the rest of the build would probably fail in mysterious ways. An example of package that required this fix is the Lix, a Nix implementation, that uses `toml11` discovered via CMake during the Meson configure phase. Co-authored-by: Qyriad <qyriad@qyriad.me> Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-05-11Merge branch 'master' into staging-nextJan Tojnar1-3/+3
; Conflicts: ; maintainers/scripts/luarocks-packages.csv ; pkgs/development/lua-modules/generated-packages.nix
2024-05-10build-support/rust: rewrite workspace dependency inheritanceK9001-15/+27
This fixes at least one bug with default-features, and also just aligns us more with what Cargo actually does. Also some Python style fixes and a bit less mutating state.
2024-05-10Merge pull request #310528 from alyssais/buildRustPackage-platformsPol Dellaiera1-3/+3
buildRustPackage: add new supported platforms
2024-05-10buildRustPackage: add new supported platformsAlyssa Ross1-3/+3
The new NetBSD platforms have appeared since last time I updated this list, but it looks like I just missed the MIPS linux ones last time.
2024-05-09buildsupport/php: add passthru.updateScriptPatka1-0/+8
PHP packages where upstream provides a lock file can be automatically updated with the standard updateScript
2024-05-08Merge master into staging-nextgithub-actions[bot]7-53/+138
2024-05-08Merge pull request #305582 from TomaSajt/dub-to-nix-git-depsAtemu3-23/+85
dub-to-nix,buildDubPackage: allow git-type dependencies
2024-05-08Merge pull request #302300 from Ma27/kernel-zstdLinus Heckemann4-30/+53
linux kernel: prefer zstd where possible
2024-05-08dub-to-nix,buildDubPackage: allow git-type dependenciesTomaSajt3-23/+85
2024-05-07Merge master into staging-nextgithub-actions[bot]7-2/+10
2024-05-07build-support/php: reorganize filesPol Dellaiera7-2/+10
Pave the way for having multiple versions in the future
2024-05-06Merge master into staging-nextgithub-actions[bot]1-5/+5
2024-05-06Merge pull request #290684 from corngood/dotnet-darwinRandy Eckenrode1-5/+5
dotnet: fix dotnet executables in darwin sandbox
2024-05-05Merge master into staging-nextgithub-actions[bot]5-35/+36
2024-05-05build-support/php: remove obsolete parametersPol Dellaiera3-3/+0
2024-05-05build-support/php: add missing bindingPol Dellaiera1-16/+17
2024-05-05build-support/php: composer, add `meta.mainProgram`Pol Dellaiera1-0/+1
2024-05-05build-support/php: use `lib.getExe`Pol Dellaiera1-1/+1
2024-05-05build-support/php: move environment variables under `env` attributePol Dellaiera3-11/+17
2024-05-05build-support/php: remove obsolete parametersPol Dellaiera2-4/+0
2024-05-05Merge branch 'staging-next' into stagingJan Tojnar6-143/+228
Conflicts in luaPackages.luarocks-nix: - 8b563cd9f923cdf009b3864a358d912103703320 switched to the new version format (prefixed by 0 since there was no relevant last tag in the branch). bc4f6fa54321533b250984f7b3813f8d343dfde1 bumped version and switched to the new version format. But the tag used is not part of the branch the commit comes from (master). Used the new version but replaced the tag prefix with 0. - b73ec84b9eed8de7e9095e779ee3d4066ceb091e removed meta (it is already set in the overridden luarocks). But that would cause the update script to try to update the overridden luarocks (as did the previously used old.meta). bf311d950e4c5d65fae66717c7c3d4f085ff6415 modified meta to fix the update script properly. Kept the meta from the latter since it allows update script to work.
2024-05-04dotnet: fix dotnet executables in darwin sandboxDavid McFarland1-5/+5
This fixes: Could not load ICU data. UErrorCode: 2 We're using a hook instead of a wrapper because various things like to reference the unwrapped dotnet executable.
2024-05-04workflows/check-nix-format: enforce for build-support/phpPol Dellaiera6-143/+228