about summary refs log tree commit diff
path: root/pkgs/build-support
AgeCommit message (Collapse)AuthorFilesLines
2023-06-30makeSetupHook: unbreak structuredAttrsByDefaultArtturin1-0/+4
2023-06-30Merge pull request #240613 from SuperSandro2000/binary-cacheNick Cao1-2/+2
binary-cache: use lib.makeBinPath
2023-06-30binary-cache: use lib.makeBinPathSandro Jäckel1-2/+2
2023-06-29runNixOSTest: adds support for lib.extendArthur Gautier1-1/+3
When lib overrides were used, before this commit, they would not be made available in the configuration evaluation of nixosTest's nodes. Sample code: ``` nix let pkgs = import ./. { overlays = [ (new: old: { lib = old.lib.extend (self: super: { sorry_dave = builtins.trace "There are no pod bay doors" "sorry dave"; }); }) ]; }; in pkgs.testers.runNixOSTest { name = "demo lib overlay"; nodes = { machine = { lib, ... }: { environment.etc."got-lib-overlay".text = lib.sorry_dave; }; }; testScript = { nodes }: '' start_all() machine.succeed('grep dave /etc/got-lib-overlay') ''; } ```
2023-06-28Merge pull request #239622 from corngood/dotnet-miscSandro4-17/+28
dotnet: misc fixes
2023-06-28Merge pull request #238452 from XYenon/masterLily Foster1-3/+30
prefetch-npm-deps: add retry
2023-06-29prefetch-npm-deps: add retryXYenon1-3/+30
2023-06-27buildNpmPackage: add lilyinstarlight as maintainer/code ownerWinter1-1/+1
This is long overdue, Lily has done more than me for Node.js in Nixpkgs by this point.
2023-06-27prefetch-yarn-deps: add --fixup-lockfile flag to fixup a yarn.lock (#214062)Lily Foster4-16/+95
The flag iterates through the lockfile entries, rewrites `resolved` URLs to those that will be in the cache (like `fixup_yarn_lock` from yarn2nix), removes `integrity` for git deps whose hash won't match the reproducible repacking that the fetcher does, writes the amended lockfile, and exits.
2023-06-27Merge pull request #236976 from amarshall/zip-reproducibleJanik1-5/+19
2023-06-26Merge master into staging-nextgithub-actions[bot]1-2/+6
2023-06-26Merge pull request #239658 from rnhmjoj/pr-compress-fwMichele Guerini Rocco1-2/+6
compressFirmwareXz: preserve meta attributes
2023-06-25Merge master into staging-nextgithub-actions[bot]9-16/+12
2023-06-25treewide: use optionalAttrs instead of 'else {}'Felix Buehler9-16/+12
2023-06-25Merge master into staging-nextgithub-actions[bot]1-1/+1
2023-06-25compressFirmwareXz: preserve meta attributesrnhmjoj1-2/+6
Among other things, this preserves the package priority, which is important when building the `hardware.firmware` environment in NixOS.
2023-06-24nuget-to-nix: set nullglobDavid McFarland1-0/+1
This stops nuget-to-nix from failing when there are no packages in the output.
2023-06-24buildDotnetModule: fix indentationDavid McFarland1-8/+8
2023-06-24buildDotnetModule: remove fetch-deps from tool packagesDavid McFarland1-1/+1
This helps if we want to run nixpkgs.*.fetch-deps. Previously e.g. fable.fetch-deps existed, but was broken.
2023-06-24buildDotnetModule: use tmp file for fetch-deps outputDavid McFarland1-2/+4
2023-06-24buildDotnetModule: unset TMPDIR instead of setting it emptyDavid McFarland1-1/+1
This was breaking nix-prefetch-url when running fetch-deps in nix-shell. e.g. $ TMPDIR= nix-prefetch-url foo nix-prefetch-url: src/libutil/util.cc:119: nix::Path nix::canonPath(PathView, bool): Assertion `path != ""' failed. [2] 881198 abort (core dumped)
2023-06-24buildDotnetModule: allow lockFile path to be set in nugetDepsDavid McFarland2-5/+13
This allows fetch-deps to find the lock-file for roslyn.
2023-06-24fetchgit: add a default NIX_BUILD_CORES variableMario Rodas1-1/+1
NIX_BUILD_CORES might not be defined at runtime, so the command would fail.
2023-06-23Merge staging-next into staginggithub-actions[bot]6-7/+62
2023-06-22Merge pull request #233422 from mdarocha/crossgen-fixSandro5-3/+58
buildDotnetModule: support ReadyToRun and native binaries inside nuget files
2023-06-22Merge pull request #237235 from alyssais/vmTools-debGuillaume Girol1-4/+4
nixosTests.os-prober: fix
2023-06-22Merge staging-next into staginggithub-actions[bot]3-727/+2
2023-06-22Merge pull request #238593 from figsoda/maturinfigsoda3-727/+2
2023-06-21buildDotnetModule: support native binaries in nuget packagesmdarocha2-0/+31
This helps with ie. crossgen2 building, and packages that use protoc
2023-06-21buildDotnetModule: pass runtimeId whenever possible and disable trimming ↵mdarocha4-3/+27
when not allowed. This fixes up some build errors
2023-06-21Merge staging-next into staginggithub-actions[bot]1-21/+1
2023-06-21Merge pull request #238733 from domenkozar/fetchgit-submodules-parallelDomen Kožar1-21/+1
fetchgit: fetch submodules in parallel
2023-06-20Merge pull request #236490 from alyssais/cargo-stripfigsoda1-0/+4
2023-06-21Merge staging-next into staginggithub-actions[bot]5-8/+83
2023-06-20buildDotnetGlobalTool: initmdarocha1-0/+48
2023-06-20buildDotnetModule: add useDotnetFromEnv optionmdarocha3-4/+22
This causes an alternative wrapper to be used, that takes the dotnet runtime from the environment.
2023-06-20buildDotnetModule: tweaks to support paketmdarocha2-4/+13
Projects that use paket, and have it setup so that it's executed transparently during "dotnet restore" as a dotnet tool should now work.
2023-06-20rustPlatform.cargoBuildHook: don't let cargo stripAlyssa Ross1-0/+4
This fixes debug info of cloud-hypervisor, which recently added strip = true to its release profile in Cargo.toml.
2023-06-20fetchgit: fetch submodules in parallelDomen Kožar1-21/+1
2023-06-20Merge staging-next into staginggithub-actions[bot]1-2/+2
2023-06-19Merge staging-next into staginggithub-actions[bot]1-0/+2
2023-06-19tests.importCargoLock.maturin: reexport maturin.tests.pyo3figsoda3-727/+2
This allows the Cargo.lock to be removed, since the 2 packages are mostly identical
2023-06-20emacs: add back support in wrapper for using passthru.treeSitteradisbladis1-1/+1
The API was changed in https://github.com/NixOS/nixpkgs/pull/235859.
2023-06-20emacs: add back support in wrapper for using passthru.nativeCompadisbladis1-1/+1
The API was changed in https://github.com/NixOS/nixpkgs/pull/235859.
2023-06-19Merge pull request #237167 from CHN-beta/masterSandro1-0/+2
2023-06-19Merge staging-next into staginggithub-actions[bot]2-0/+7
2023-06-18Merge pull request #237594 from ncfavier/runCommand-positionNaïm Favier1-0/+4
runCommand: set meta.position from the arguments
2023-06-18Merge pull request #238133 from LibreCybernetics/add-znver4-archSergei Trofimovich1-0/+3
lib.systems: add znver4 architecture
2023-06-18Merge staging-next into staginggithub-actions[bot]3-4/+7
2023-06-18Revert "build-rust-{crate,package}: cleanups"Guillaume Girol3-4/+7