about summary refs log tree commit diff
path: root/pkgs/build-support
AgeCommit message (Collapse)AuthorFilesLines
2023-04-24Merge pull request #206476 from winterqt/prefetch-npm-deps-git-dev-depsLily Foster7-498/+647
prefetch-npm-deps: download dev deps for git deps with install scripts
2023-04-24rustPlatform.buildRustPackage: fix crossAlyssa Ross1-2/+2
.override breaks splicing, so this was using the shell for the host platform.
2023-04-22Merge pull request #227634 from GenericNerdyUsername/requireFile-hashWeijia Wang1-4/+9
`requireFile`: allow using `hash` instead of `sha256`/`sha1`
2023-04-22Merge pull request #227510 from wegank/fhs-aarch64Weijia Wang2-1/+5
buildFHSEnv: restrict pkgsi686Linux to x86_64-linux
2023-04-22requireFile: allow using `hash` instead of `sha256`/`sha1`GenericNerdyUsername1-4/+9
2023-04-22Merge pull request #190610 from amjoseph-nixpkgs/pr/build-rust-crate/gdk3Artturi1-0/+6
2023-04-22buildFHSEnv: restrict pkgsi686Linux to x86_64-linuxWeijia Wang2-1/+5
2023-04-22buildGoModule: don't inherit build hooks when building go-modules (#225349)Doron Behar1-1/+5
* buildGoModule: don't inherit postBuild hook when building go-modules This is a slight revert of 5ce647b8bf7aee0d3862006d94df7878c7fc03a6 (#212800). Inheriting these hooks in the `.go-modules` derivation can be confusing: One doesn't expect them to run when generating the fixed output modules derivation, but only on the main derivation. A `postBuild` hook that adds some files to $out will cause a very hard to debug issue[1]. This commit adds support for a dedicated `modPostBuild` hook that will be used only by the derivation building `.go-modules`. Additionally, `go.section.md` now explains these attributes behavior better. [1]: https://discourse.nixos.org/t/cant-update-a-go-package-getting-go-inconsistent-vendoring/27063/6 Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-21Merge pull request #169116 from ElvishJerricco/systemd-stage-1-networkdFlorian Klink1-2/+2
Systemd stage 1 networkd
2023-04-19Merge pull request #187210 from pinn3/fetchgit/remove-outdated-commentArtturi1-1/+1
2023-04-17Merge pull request #217587 from winterqt/build-dotnet-module-darwin-sandbox7c6f434c1-1/+5
buildDotnetModule: fix sandboxed builds on darwin
2023-04-16Merge pull request #226366 from mmlb/rename-gnatbootAdam Joseph1-1/+1
gnatboot: rename to gnat-bootstrap
2023-04-16tree-wide: buildFHSUserEnv -> buildFHSEnvAtemu8-2/+2
2023-04-15gnatboot: rename to gnat-bootstrapManuel Mendez1-1/+1
Most other bootstrap compilers are named -bootstrap so lets follow that pattern.
2023-04-15Merge pull request #178280 from veprbl/pr/ccache_clang_fixKira Bruneau1-2/+2
cc-wrapper: disable response files for ccache
2023-04-14moveBuildTree: initWeijia Wang1-0/+12
2023-04-14Merge pull request #216992 from SuperSandro2000/stdenvNative-fix-evalSandro2-3/+6
{bintools,cc}-wrapper: don't fallback to version = null
2023-04-12{bintools,cc}-wrapper: don't fallback to version = nullSandro Jäckel2-2/+2
mkDerivation cannot handle that
2023-04-12cc-wrapper: don't set env to null when nativeTools is usedSandro Jäckel1-1/+4
This is not allowed and fails fatal
2023-04-12build-rust-crate: dontStrip=!releaseAdam Joseph1-0/+1
Without this PR, unlike `RUST_LIB_BACKTRACE=1 cargo run` you won't get line numbers in backtraces from binaries built with: ``` nix build -f Cargo.nix --arg release false ``` This PR fixes that.
2023-04-12cc-wrapper: add optional temporary hack for -BVladimír Čunát1-1/+4
This fixes parts in llvmPackages_{13,rocm} e.g. build .clang for testing. Longterm mass-rebuild fix should come in PR #225846
2023-04-11systemd-initrd: Fix up root directory modeWill Fancher1-2/+2
2023-04-11Merge master into staging-nextgithub-actions[bot]2-49/+63
2023-04-11Merge pull request #225471 from Atemu/fhsenv-pname+versionAtemu2-49/+63
buildFHSEnvBubblewrap: support pname + version
2023-04-11anki-bin: use pname + version instead of hacky overrideAtemu1-2/+1
2023-04-10julia{18,19,}: fix build by a temporary hackVladimír Čunát1-1/+6
This is a low-rebuild version of PR #225273 /cc the proper and hopefully complete fix in PR #225220
2023-04-09buildFHSEnvBubblewrap: support pname + versionAtemu2-49/+64
2023-04-09Merge master into staging-nextgithub-actions[bot]3-9/+17
2023-04-09Merge pull request #224893 from amjoseph-nixpkgs/pr/crate-overrides/evdev-sysfigsoda1-1/+13
default-crate-overrides.nix: prevent `git fetch`
2023-04-09buildGo{Module,Package}: minor cleanupzowoq2-8/+4
2023-04-09Merge master into staging-nextgithub-actions[bot]1-11/+6
2023-04-09Merge pull request #219707 from Stunkymonkey/fetchmavenartifact-deprecate-phasesSandro1-11/+6
2023-04-08Merge master into staging-nextgithub-actions[bot]1-3/+11
2023-04-08Merge pull request #224458 from helsinki-systems/upd/nginxFranz Pletz1-3/+11
nginxMainline: 1.23.3 -> 1.23.4
2023-04-08Merge master into staging-nextgithub-actions[bot]1-0/+5
2023-04-08Merge pull request #224905 from NixOS/r-updatesJustin Bedő1-0/+5
rPackages: CRAN repository changes and treewide update
2023-04-06https://github.com/NixOS/nixpkgs/pull/224893#pullrequestreview-1375521876Adam Joseph1-4/+5
2023-04-06default-crate-overrides.nix: prevent `git fetch`Adam Joseph1-1/+12
The build.rs script shipped with evdev-sys attempts to detect cross compilation and uses a completely different codepath which does a `git fetch` inside the build script. This doesn't work in nixpkgs. This PR adds a `touch libevdev/.git` to trick the `build.rs` into thinking that it is not necessary to do a `git fetch`. Thanks to @figsoda for finding this more-elegant solution to the problem (my original solution needed to patch `build.rs`): https://github.com/NixOS/nixpkgs/pull/224893#pullrequestreview-1373809617 Tested on: - [x] `aarch64-linux` (cross from `x86_64-linux`)
2023-04-06Merge master into staging-nextgithub-actions[bot]1-0/+27
2023-04-06prefetch-npm-deps: fix clippy lintWinter1-1/+1
2023-04-06prefetch-npm-deps: throw better error when unsupported git service is usedWinter1-21/+25
See https://github.com/NixOS/nixpkgs/pull/206476#discussion_r1058689383.
2023-04-06prefetch-npm-deps: download dev deps for git deps with install scriptsWinter4-10/+73
Git dependencies with install scripts are built isolated from the main package, so their development dependencies are required. To take advantage of this, #206477 is needed.
2023-04-06prefetch-npm-deps: refactorWinter4-493/+575
This splits prefetch-npm-deps into multiple files, as well as making a few small changes along the way, such as going from a `HashMap` to a `Vec` as the container for packages, to deduplicate them more efficently.
2023-04-06Merge pull request #224917 from uri-canva/uri/fix-symlinksUri Baghin1-0/+27
buildBazelPackage: fix difference between linux and darwin deps
2023-04-06Merge master into staging-nextgithub-actions[bot]2-10/+19
2023-04-06buildBazelPackage: fix difference between linux and darwin depsUri Baghin1-0/+27
2023-04-05Merge pull request #224892 from amjoseph-nixpkgs/pr/crate-overrides/prost-buildfigsoda1-0/+5
2023-04-06Merge pull request #224765 from uri-canva/uri/overwriteUri Baghin1-10/+14
buildBazelPackage: allow buildAttrs and fetchAttrs to override inherited attrs
2023-04-06Merge master into staging-nextgithub-actions[bot]1-1/+1
2023-04-06Merge remote-tracking branch 'origin/master' into r-updatesJustin Bedo43-125/+393