about summary refs log tree commit diff
path: root/pkgs/build-support
AgeCommit message (Collapse)AuthorFilesLines
2024-02-25build-support/php: set `COMPOSER_ROOT_VERSION` by defaultPol Dellaiera4-6/+38
2024-02-23Merge branch 'master' into staging-nextWeijia Wang2-1/+2
2024-02-22Merge pull request #277494 from trofi/buildFHSEnv-fix-evalSandro1-1/+1
2024-02-22Merge pull request #283572 from baracoder/appimage-pipewireBruno Bigras1-0/+1
appimage-run: Add pipewire support
2024-02-19Merge master into staging-nextgithub-actions[bot]2-14/+87
2024-02-19Merge pull request #289584 from athre0z/docker-zstdRobert Hensing2-14/+87
dockerTools: configurable compression schema
2024-02-18appimage-run: Add pipewire supportHerman Fries1-0/+1
2024-02-17dockerTools: configurable compression schemaJoel Höner2-14/+87
This commit adds support for swapping out the compression algorithm used in all major docker-tools commands that generate images. The default algorithm remains unchanged (gzip).
2024-02-17Merge staging-next into staginggithub-actions[bot]3-0/+216
2024-02-17fetchPypiLegacy: add testDavHau2-5/+15
2024-02-17fetchPypiLegacy: init PyPi legacy API fetcheradisbladis2-0/+206
This fetcher is to be used with PyPi mirrors exposing the "legacy" API, such as devpi. A variant of this fetcher has been used in poetry2nix for years and has served us well there to support private PyPi mirrors and Devpi. Example usage: ``` nix fetchPypiLegacy { file = "urllib3-1.26.2.tar.gz"; hash = "sha256:19188f96923873c92ccb987120ec4acaa12f0461fa9ce5d3d0772bc965a39e08"; pname = "urllib3"; url = "https://pypi.org/simple"; } ``` cc @lewo who wrote the this originally cc contributors @rskew @gmacon @jperras @Smaug123
2024-02-16Merge pull request #255463 from ↵Rick van Schijndel1-1/+4
emilylange/stdenv/patch-shebangs-trailing-newline patch-shebangs: fix crash with shebang without trailing newline
2024-02-15build-support/php: replace `preCheckInstall`, `postCheckInstall` with ↵Pol Dellaiera2-4/+4
`preInstallCheck`, `postInstallCheck`
2024-02-14Merge pull request #271976 from r-k-b/fix-dockerTools-includeStorePathsRobert Hensing2-0/+15
nixos/dockerTools: fix includeStorePaths when enableFakechroot
2024-02-10Merge pull request #283770 from r-ryantm/auto-update/makeInitrdNGToolWill Fancher1-2/+2
makeInitrdNGTool: 0.1.0 -> 0.1.0
2024-02-09Merge master into staging-nextgithub-actions[bot]1-0/+1
2024-02-09Merge pull request #285964 from melvyn2/patch-1Orivej Desh (NixOS)1-0/+1
build-fhs-user-env: add compatibility for pipewire alsa emulation
2024-02-08Merge master into staging-nextgithub-actions[bot]1-0/+1
2024-02-08Merge pull request #285223 from DanielSidhion/update-dockertools-envhelpersSilvan Mosberger1-0/+1
doc: update environment helpers in dockerTools docs, add fakeNss section
2024-02-04Merge master into staging-nextgithub-actions[bot]1-0/+2
2024-02-04Merge pull request #283080 from marsam/postgresql-test-hook-settingsMario Rodas1-0/+2
postgresqlTestHook: add postgresqlExtraSettings variable
2024-02-02build-fhs-user-env: add compatibility for pipewire alsa emulationMelvyn1-0/+1
2024-02-02Merge staging-next into staginggithub-actions[bot]1-1/+5
2024-02-02Merge pull request #284985 from wegank/fetchzip-nix-prefetchh7x41-1/+5
fetchFromGitHub: fix compatibility issue with nix-prefetch
2024-02-02Merge staging-next into staginggithub-actions[bot]2-62/+217
2024-02-01writeShellApplication: Expand test suiteRebecca Turner1-20/+132
2024-02-01writeShellApplication: Document argumentsRebecca Turner1-36/+68
2024-02-01writeTextFile,writeShellApplication: Allow setting extra argumentsRebecca Turner1-5/+8
2024-02-01writeShellApplication: Add `runtimeEnv` argumentRebecca Turner1-1/+10
2024-02-01writeShellApplication: Add `bashOptions` argumentRebecca Turner1-3/+2
2024-02-01Merge remote-tracking branch 'origin/staging-next' into stagingMartin Weinelt4-52/+178
Conflicts: - pkgs/development/compilers/llvm/10/clang/default.nix - pkgs/development/compilers/llvm/8/clang/default.nix
2024-02-01doc: update environment helpers in dockerTools docs, add fakeNss sectionDS1-0/+1
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2024-01-31testers.hasPkgConfigModules: use PKG_CONFIG envvar instead of hardcodingNick Cao1-2/+2
fixes cross compilation
2024-01-30fetchFromGitHub: fix compatibility issue with nix-prefetchWeijia Wang1-1/+5
2024-01-30pkgs.writers: fix type in description for writeHaskellBinTulili1-1/+1
2024-01-30pkgs.writers: tests for lua ruby, and remove failed tests because of ↵Tulili2-11/+86
external package errors
2024-01-30pkgs.writers: remove tests that dont work anymore and add comments tracking ↵Tulili3-53/+64
issues
2024-01-30pkgs.writers add snu, lua and rubyTulili1-0/+40
2024-01-29Merge staging-next into staginggithub-actions[bot]4-5/+24
2024-01-29Merge pull request #274440 from bouk/missing-build-rust-envRyan Lahfa2-4/+22
build-rust-crate: add missing CARGO_PKG env variables
2024-01-29Merge pull request #279039 from wegank/mingw-w64-bumpJohn Ericson1-1/+1
windows.mingw_w64: 10.0.0 -> 11.0.1
2024-01-29build-support/testers: don't fail the test on empty list of pkg-config modulesSergei Trofimovich1-0/+1
Without the change tests like `xorg.imake.tests.pkg-config` fail as: $ nix build --no-link -f. -L xorg.imake.tests.pkg-config error: builder for '/nix/store/i3zb1ykjzm0622497cn4dvifk36sx00r-check-pkg-config-.drv' failed to produce output path for output 'out' at '/nix/store/i3zb1ykjzm0622497cn4dvifk36sx00r-check-pkg-config-.drv.chroot/nix/store/63y92rvkp7gzzp0hlcjyj92srzjwndrq-check-pkg-config-' error: 1 dependencies of derivation '/nix/store/8qycf49a4h9jj2662d9cf4d56aq6djjj-check-meta-pkg-config-modules-for-imake-1.0.9.drv' failed to build Let's always produce empty output for zero-modules tests.
2024-01-28build-rust-crate: add missing CARGO_PKG env variablesBouke van der Bijl2-4/+22
See https://doc.rust-lang.org/cargo/reference/environment-variables.html for supported variables
2024-01-28Merge staging-next into staginggithub-actions[bot]1-2/+7
2024-01-28compressFirmwareXz: don't allow referencesAlyssa Ross1-1/+3
2024-01-28compressFirmwareXz: fail on broken symlinksAlyssa Ross1-0/+3
This would have caught the last two issues we had with compression.
2024-01-28compressFirmwareXz: fix symlink type checkAlyssa Ross1-1/+1
The previous version didn't work in the case of relative symlinks in subdirectories. If "foo/bar" was a link to "baz", it would check for a link to "baz" in the root, rather than under "foo". We don't need to dereference the symlink ourselves for [ anyway, as it dereferences its arguments itself, so all we need to do to fix this is to pass it the link. Fixes: 14f83d5c6f98 ("compressFirmwareXz: fix links to directories")
2024-01-28Merge pull request #284307 from alyssais/rustc-sysroot=Ryan Lahfa1-1/+1
wrapRustc: handle --sysroot=
2024-01-27wrapRustc: handle --sysroot=Alyssa Ross1-1/+1
This form is used by Linux 6.8.
2024-01-27Merge branch 'staging-next' into stagingWeijia Wang3-19/+25