about summary refs log tree commit diff
path: root/pkgs/build-support
AgeCommit message (Collapse)AuthorFilesLines
2024-03-06Merge pull request #293582 from ↵Pol Dellaiera1-1/+22
drupol/build-support/php/improve-composer-validate build-support/php: update `composer validate` steps
2024-03-05Merge pull request #190129 from corngood/dotnet-sdkDavid McFarland3-4/+16
dotnetCorePackages.dotnet_8: build from source
2024-03-05build-support/php: update `composer validate` stepsPol Dellaiera1-1/+22
2024-03-05build-support/php: move functions around (dry)Pol Dellaiera3-40/+26
2024-03-05phpPackages.composer: 2.6.6 -> 2.7.1Pol Dellaiera2-26/+2
Diff: https://github.com/composer/composer/compare/2.6.6..2.7.1 Changelog: https://github.com/composer/composer/releases/tag/2.7.1 Fix CVE: CVE-2024-24821
2024-03-05build-support/php/composer-local-repo-plugin: 1.0.3 -> 1.1.0Pol Dellaiera1-2/+2
2024-03-04Revert "writers: add support for wrapping"Vladimír Čunát2-435/+151
2024-03-04Merge pull request #291854 from DavHau/writers-wraplassulus2-151/+435
writers: add support for wrapping
2024-03-03mkNugetDeps: provide default for nugetDepsDavid McFarland2-2/+1
2024-03-03nuget-to-nix: skip local sourcesDavid McFarland1-2/+15
2024-03-02macOS support for NixOS tests (#282401)Gabriella Gonzalez2-5/+5
Closes #193336 Closes #261694 Related to #108984 The goal here was to get the following flake to build and run on `aarch64-darwin`: ```nix { inputs.nixpkgs.url = <this branch>; outputs = { nixpkgs, ... }: { checks.aarch64-darwin.default = nixpkgs.legacyPackages.aarch64-darwin.nixosTest { name = "test"; nodes.machine = { }; testScript = ""; }; }; } ``` … and after this change it does. There's no longer a need for the user to set `nodes.*.nixpkgs.pkgs` or `nodes.*.virtualisation.host.pkgs` as the correct values are inferred from the host system.
2024-03-01Merge pull request #292300 from hsjobeki/writerslassulus1-30/+51
doc & fix: Clean up writers/data.nix file
2024-02-29Merge pull request #289840 from PigeonF/masterPol Dellaiera1-0/+2
Make `dockerTools.buildImageWithNixDb` reproducible
2024-02-29writers: add support for wrappingDavHau2-151/+435
Add a makeWrapperArgs argument to all script writers under pkgs.writers. This can be used to set, prefix, or suffix the PATH or other environment variables which improves the ability to generate scripts with reproducible behavior. Some of the writers (writeBash, writeDash, writeFish, writeNu) previously did not support passing an argument set, for example ``` writeBash "example" "echo hello" ``` In order to add the new capability to these writers as well, their call signature is now overloaded in order to allow the following: (The old call style from the example above remains intact) ``` writeBash "example" { makeWrapperArgs = [ "--prefix" "PATH" ":" "${pkgs.hello}/bin" ]; } '' hello '' ``` Done as well: - add tests - add more docs - fix some misleading docs - extend existing docs with more examples
2024-02-29doc: improve pkgs.writers commentsJohannes Kirschbauer1-30/+51
2024-02-29applyPatches: Fix a bug (#283887)Thomas Lepoix1-6/+7
2024-02-29substitute: Deprecate `replacements`, introduce `replacementsList`Silvan Mosberger2-7/+57
Also: - Add tests - Treewide update - Improve docs
2024-02-28Merge pull request #282886 from WxNzEMof/docker-tools-uidRobert Hensing2-45/+45
Allow streaming layered containers with non-root Nix store
2024-02-26Merge pull request #285828 from drupol/php/remove-COMPOSER-ROOT-VERSION-envThomas Gerbet4-6/+38
build-support/php: set `COMPOSER_ROOT_VERSION` environment variable
2024-02-26Remove the redundant comments from streamLayeredImage parametersWxNzEMof1-34/+14
The proper place to describe them is the documentation, where they are described thoroughly.
2024-02-26streamLayeredImage: Change mode of /nix, /nix/store to 755WxNzEMof1-1/+1
The change is insignificant when the owner is root. However, when it is not root, this change is needed to allow using Nix (as an unprivileged user) inside the container.
2024-02-26streamLayeredImage: Allow customizing ownershipWxNzEMof2-12/+32
This opens the way towards building images where Nix can be used as an unprivileged user (in single-user mode).
2024-02-25gnatPackages: Add scope for all ada packagesThomas Heijligen1-1/+1
Ada depencencies musst be build with the same gnat version as the project. Use a namespace as preperation to build with different gnat versions. gprbuild and gnatprove are still globaly visable.
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-18nixos/dockerTools: make buildImageWithNixDb reproduciblepigeon1-0/+2
The loaded database contains timestamps of when the nix paths were registered. Depending on the host store, these can differ between runs. Resetting them to a well known values ensures that the produced image is reproducible.
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