about summary refs log tree commit diff
path: root/pkgs/build-support
AgeCommit message (Collapse)AuthorFilesLines
2022-10-25build-dotnet-module: don't end with exit code 1 when update was sucessfullSandro Jäckel1-1/+3
otherwise scripts might end prematurely
2022-10-25ocamlPackages.buildOcaml: removeVincent Laporte1-36/+0
2022-10-23Merge pull request #196681 from corngood/fix-nuget-to-nixAnderson Torres1-1/+1
nuget-to-nix: fix warning when package is installed from sdk
2022-10-20Merge master into staging-nextgithub-actions[bot]1-49/+71
2022-10-19Merge pull request #192639 from ylecornec/ylecornec/buildBazelPackage-testsSandro1-49/+71
2022-10-19Merge master into staging-nextgithub-actions[bot]1-1/+2
2022-10-18FHSEnv: export /etc/shellsDaniel Poelzleithner1-0/+1
/etc/shells is often read by programs to determine which shells should be provided. Fixes problems with extensions in vscode-fhs
2022-10-18build-fhs-userenv-bubblewrap: use -m not -f for readlinkStella1-1/+1
This change will let more inexistent paths be passed along, avoiding extremely weird and hard to debug behavior. See https://github.com/containers/bubblewrap/issues/520 for what I personally encountered.
2022-10-18nuget-to-nix: fix warning when package is installed from sdkDavid McFarland1-1/+1
2022-10-17Merge master into staging-nextgithub-actions[bot]1-26/+21
2022-10-16Merge pull request #193075 from Ma27/nextcloud-pkg-fixMaximilian Bosch1-26/+21
fetchNextcloudApp: rewrite with fetchzip & applyPatches
2022-10-14stdenv cc-wrapper: revert a problematic change for non-LinuxVladimír Čunát2-1/+123
The change from 0bea4a194f71 (PR #191724) broke stdenv bootstap on *-darwin, and I didn't want to drop the *-linux binaries that we have already.
2022-10-13Merge remote-tracking branch 'origin/staging-next' into stagingMartin Weinelt1-10/+11
2022-10-13Merge pull request #141050 from koenw/dockertools_too_many_argumentsRobert Hensing1-10/+11
build-support: Fix error when building images with many layers
2022-10-13Merge staging-next into staginggithub-actions[bot]1-39/+46
2022-10-13build-support: Fix error when building images with many layersKoen Wilde1-10/+11
When building a docker image using `dockertools.buildLayeredImage`, the resulting image layers are passed to `jq` through the command line. When building an image with too many layers this would exceed the maximum command line argument length. Hence, we store the list of layers in the Nix store and pass them to `jq` as a file argument using `--slurpfile`. Fixes #140908.
2022-10-13Merge pull request #100634 from fzakaria/faridzakaria/buildmaven-nixShea Levy1-39/+46
buildMaven: Update buildMaven to pure Nix
2022-10-13Merge branch 'master' into stagingVladimír Čunát1-1/+1
2022-10-13Merge pull request #194256 from Artturin/treewides2Artturi3-3/+8
2022-10-11writers.writeJS: pass arguments to scriptlassulus1-1/+1
2022-10-11Merge staging-next into staginggithub-actions[bot]2-0/+27
2022-10-11Merge remote-tracking branch 'origin/master' into staging-nextMartin Weinelt1-2/+2
2022-10-10writers.writeFish: avoid loading user config filespacien1-2/+2
This makes the Fish interpreter ignore user configuration files. This was not desirable for running scripts, especially system ones.
2022-10-10Merge remote-tracking branch 'origin/master' into staging-nextMartin Weinelt2-0/+27
2022-10-10writers: add writeFish and writeFishBinpacien2-0/+27
This adds writers for Fish shell scripts, with syntax checking.
2022-10-10treewide: optional -> optionals where the argument is a listArtturin1-1/+1
the argument to optional should not be list
2022-10-10treewide: *Flags convert to list from strArtturin2-2/+7
*Flags implies a list slightly relevant: > stdenv: start deprecating non-list configureFlags https://github.com/NixOS/nixpkgs/pull/173172 the makeInstalledTests function in `nixos/tests/installed-tests/default.nix` isn't available outside of nixpkgs so it's not a breaking change
2022-10-10autoPatchelfHook: support glob patternsadisbladis1-2/+5
so for example cuda could be ignored by setting: ``` nix autoPatchelfIgnoreMissingDeps = [ "*cuda*.so*" ]; ```
2022-10-10autoPatchelfHook: fix turning `[ "*" ]` into bash arrayadisbladis1-1/+1
Previously globs were incorrectly handled and expanded by bash into the files in the temporary build directory.
2022-10-08Merge staging-next into staginggithub-actions[bot]3-10/+34
2022-10-08Merge branch 'master' into staging-nextVladimír Čunát3-10/+34
2022-10-08Merge pull request #193871 from trofi/FORTIFY-unset-and-setSergei Trofimovich1-1/+3
cc-wrapper/add-hardening.sh: always unset _FORTIFY_SOURCE before re-s…
2022-10-07rustc: fix build for no_std targetsAlex Martens1-0/+5
2022-10-06Merge pull request #194425 from SuperSandro2000/remove-double-fixed-outputAnderson Torres2-10/+29
Add support for pname+version to fetchzip/fetchurl
2022-10-05Merge #191724: cc-wrapper: remove duplicate include flagsVladimír Čunát1-0/+2
...into staging
2022-10-05fixup! fetchurl: add pname+version supportSandro1-1/+0
2022-10-05Merge master into staging-nextgithub-actions[bot]1-1/+1
2022-10-04fetchzip: add pname+version supportSandro Jäckel1-3/+14
2022-10-04fetchurl: add pname+version supportSandro Jäckel1-7/+16
2022-10-04emacs: remove warning of xargs when doing AOT native-compLin Jian1-1/+1
Before, there is a warning: xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value According to the manual[1], swap -I and -n can remove this warning. [1]: https://www.gnu.org/software/findutils/manual/html_node/find_html/Conflicting-xargs-options.html
2022-10-03buildBazelPackage: optionally run bazel tests in checkPhaseYves-Stan Le Cornec1-49/+71
Tests from the bazelTestTargets argument will be run before the build. The new bazelTestFlags argument can be used to pass additional flags to this phase.
2022-10-03Merge master into staging-nextgithub-actions[bot]4-56/+105
2022-10-02fetchYarnDeps: support passing src attribute (#193047)Yureka1-7/+12
2022-10-02Merge pull request #193033 from corngood/dotnet-deterministic-fetch-depsIvv3-49/+93
dotnet: fix some problems with nuget-to-nix and make it deterministic
2022-10-02nuget-to-nix: find sources deterministicallyDavid McFarland3-31/+73
The source used to download a particular package still isn't deterministic in nuget. Even worse, the hash of the package can vary between sources. This makes nuget use the first enabled source containing the package. The order of the dependencies may be slightly different because it now uses glob order of the lower-case package names and versions, instead of sorting the output. If the package actually downloaded was the first source that contains the package, then it will be hashed from disk to avoid downloading it again.
2022-10-02nuget-to-nix: exclude by package source, not listDavid McFarland2-7/+4
This allows exclusions to be by version.
2022-10-02build-dotnet-module: fix fetch-deps usage messageDavid McFarland1-1/+1
2022-10-02build-dotnet-module: limit package platforms by sdk supportDavid McFarland1-4/+7
2022-10-02build-dotnet-module: clean up tmp file handlingDavid McFarland1-8/+10
Having: rm -rf "$src" "$HOME" Was slightly terrifying IMO, especially where the trap was installed before HOME was set.
2022-10-02Merge master into staging-nextgithub-actions[bot]1-7/+7