about summary refs log tree commit diff
path: root/pkgs/build-support
AgeCommit message (Collapse)AuthorFilesLines
2024-04-05Merge pull request #295812 from UlyssesZh/fix-nuget-to-nix-trailing-slashWeijia Wang1-1/+5
nuget-to-nix: fix the bug of wrong url in the generated nix file when base url does not have trailing slash
2024-04-04pkg-config: set prefixed mainProgram for cross compilationNick Cao1-2/+4
`lib.getExe pkgsCross.riscv64.buildPackages.pkg-config` should return `<prefix>/bin/riscv64-unknown-linux-gnu-pkg-config` not `<prefix>/bin/pkg-config`
2024-04-04Merge pull request #291569 from Luflosi/fix-substituteAll-typoAleksana1-1/+1
substituteAll: fix typo in comment
2024-04-04Merge pull request #299618 from TomaSajt/dub-supportAtemu6-0/+199
Add buildDubPackage and dub-to-nix for building dub based packages
2024-04-03buildDubPackage, dub-to-nix: initTomaSajt6-0/+199
2024-04-02Revert "swift: don't pass -march to swiftc"Sam1-6/+2
This reverts commit 8a7841ceef0a7c7794174178de786ae76cc27457.
2024-04-02Merge pull request #301011 from philiptaron/remove-auditBlasHooka-n-n-a-l-e-e1-37/+0
auditBlasHook: remove
2024-04-02auditBlasHook: removePhilip Taron1-37/+0
This was added in https://github.com/NixOS/nixpkgs/commit/d83e9c95738df2e9f912c239201f50e53e40810b, but included substitution variables `@blas@` and `@lapack@` that were never substituted. It's not used anywhere in `nixpkgs`.
2024-04-02buildDotnetModule: fix handling `executables` with an empty listéclairevoyant1-1/+2
2024-04-01Merge master into staging-nextgithub-actions[bot]1-0/+5
2024-04-01Merge pull request #295594 from ShamrockLee/checkpoint-build-dontfixupConnor Baker1-0/+5
checkpointBuildTools.prepareCheckpointBuild: stop at `installPhase`
2024-03-31Merge master into staging-nextgithub-actions[bot]2-7/+9
2024-03-31Merge branch 'master' into haskell-updatesNaïm Favier2-22/+24
2024-03-30Merge master into staging-nextgithub-actions[bot]2-22/+24
2024-03-30Merge pull request #297351 from adisbladis/build-support/lib-staticadisbladis2-22/+24
build-support/lib: Statically compute cmake/meson flags
2024-03-29Merge master into haskell-updatesgithub-actions[bot]2-10/+23
2024-03-28Merge master into staging-nextgithub-actions[bot]2-10/+23
2024-03-28Merge pull request #299169 from ShamrockLee/go-module-vendorsha256Weijia Wang1-6/+10
buildGoModule: Deprecate vendorSha256 with throw
2024-03-28buildGoModule: warn if `-trimpath` or `-mod=` is usedPaul Meyer2-4/+13
in GOFLAGS
2024-03-28Merge master into haskell-updatesgithub-actions[bot]2-4/+4
2024-03-27Merge master into staging-nextgithub-actions[bot]1-2/+2
2024-03-27Merge pull request #297496 from abryko/docker-tag-discard-closureRyan Lahfa1-2/+2
dockerTools: discard closure reference in imageTag
2024-03-27Merge master into staging-nextgithub-actions[bot]1-2/+2
2024-03-27Merge pull request #288212 from r-ryantm/auto-update/makeInitrdNGToolWill Fancher1-2/+2
makeInitrdNGTool: 0.1.0 -> 0.1.0
2024-03-27buildGoModule: Deprecate vendorSha256 with throwYueh-Shun Li1-6/+10
Ignore vendorSha256 when vendorHash is specified. Throw when vendorHash isn't specified: - "buildGoModule: Expect vendorHash instead of vendorSha256" when vendorSha256 is specified. - "buildGoModule: vendorHash is missing" otherwise. `goModules.outputHashAlgo` is specified as null when vendorHash is not empty, "sha256" otherwise. Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
2024-03-26Merge master into haskell-updatesgithub-actions[bot]1-1/+9
2024-03-25Merge remote-tracking branch 'upstream/master' into staging-nextannalee1-1/+9
2024-03-25Merge pull request #286360 from hellwolf/fix-fhsenv-bubblewrap-etc-pathsa-n-n-a-l-e-e1-1/+9
build-fhsenv-bubblewrap: fix fhsenv etc entries
2024-03-24Merge master into haskell-updatesgithub-actions[bot]1-1/+1
2024-03-24Merge staging-next into staginggithub-actions[bot]1-1/+1
2024-03-23Merge pull request #298239 from cdepillabout/layered-img-passthruPol Dellaiera1-1/+1
dockerTools: add streamed image as passthru to buildLayeredImage
2024-03-23dockerTools: add streamed image as passthru to buildLayeredImageDennis Gosnell1-1/+1
This is convenient for debugging the underlying streamed image used by `dockerTools.buildLayeredImage`. Here's an example of how you might use this: ```console $ nix repl ./. nix-repl> dockerTools.examples.nginx.passthru.stream «derivation /nix/store/9zczmlp2kraszx4ssmh6fawnlnsa5a4n-stream-nginx-container.drv» ```
2024-03-23Merge master into haskell-updatesgithub-actions[bot]1-2/+3
2024-03-22Merge staging-next into staginggithub-actions[bot]1-2/+3
2024-03-22Merge pull request #297758 from diogotcorreia/fetchnextcloudapp-hashMaximilian Bosch1-2/+3
fetchNextcloudApp: support passing hash to fetchzip
2024-03-22Merge pull request #297628 from cwp/python-env-venvDomen Kožar2-0/+50
Fix venv creation in Python environments
2024-03-21Fix venv creation in Python environmentsColin Putney2-0/+50
The way we build python environments is subtly broken. A python environment should be semantically identical to a vanilla Python installation in, say, /usr/local. The current implementation, however, differs in two important ways. The first is that it's impossible to use python packages from the environment in python virtual environments. The second is that the nix-generated environment appears to be a venv, but it's not. This commit changes the way python environments are built: * When generating wrappers for python executables, we inherit argv[0] from the wrapper. This causes python to initialize its configuration in the environment with all the correct paths. * We remove the sitecustomize.py file from the base python package. This file was used tweak the python configuration after it was incorrectly initialized. That's no longer necessary. The end result is that python environments no longer appear to be venvs, and behave more like a vanilla python installation. In addition it's possible to create a venv using an environment and use packages from both the environment and the venv.
2024-03-21Merge branch master into haskell-updatessternenseemann1-1/+1
2024-03-21Merge staging-next into staginggithub-actions[bot]1-1/+1
2024-03-21fetchNextcloudApp: support passing hash to fetchzipDiogo Correia1-2/+3
2024-03-21fetchgit: set http.proxy globally for submoduleslinsui1-1/+1
git config in the repo doesn't work for submodules
2024-03-21Merge master into haskell-updatesVladimír Čunát2-33/+51
2024-03-20dockerTools: discard closure reference in imageTagXavier Maillard1-2/+2
2024-03-20build-support/lib/meson: Statically compute default meson flagsadisbladis1-19/+19
2024-03-20build-support/lib/cmake: Statically compute default cmake flagsadisbladis1-3/+5
2024-03-20Merge master into haskell-updatesgithub-actions[bot]19-92/+96
2024-03-19Avoid top-level `with ...;` in pkgs/build-support/writers/test.nixPhilip Taron1-7/+37
2024-03-19Avoid top-level `with ...;` in pkgs/build-support/coq/extra-lib.nixPhilip Taron1-1/+21
2024-03-19Avoid top-level `with ...;` in pkgs/build-support/vm/test.nixPhilip Taron1-2/+18
2024-03-19Avoid top-level `with ...;` in pkgs/build-support/release/default.nixPhilip Taron1-2/+20