sohalt
2f6981d6e1
build-graalvm-native-image: do not use NATIVE_IMAGE_DEPRECATED_BUILDER_SANITATION
...
Packages that require access to environment variables in the build
should specify these using `-E` arguments in `nativeImageBuildArgs` or
using a `native-image.properties` as described here:
https://www.graalvm.org/22.1/reference-manual/native-image/BuildConfiguration/#embedding-a-configuration-file
Specifying NATIVE_IMAGE_DEPRECATED_BUILDER_SANITATION=true breaks with
packages that list their environment variables explicitly in `native-image.properties`.
2024-01-22 12:44:31 +01:00
Adam Joseph
86c28ee650
cc-wrapper: relocate proprietary-compiler-specific material
...
PR #275947 , which was self-merged without approvals, inserted
functionality specific to a propriteary closed-source compiler
(CUDA) into cc-wrapper.
This commit relocates this CUDA-specific functionality into the
appropritate place: `cuda-modules`.
It is unclear to me exactly what this function is supposed to be
doing; much of it (like the `.kind` attributes) do not appear to be
used *anywhere* in nixpkgs. Making sure we don't insert unexplained
deadcode like this is one of the important functions of the review
process.
2024-01-20 05:46:57 +00:00
Adam Joseph
d07ab95104
cc-wrapper: revert speculative commentary
...
This commit deletes speculative comments which were self-merged with
no approvals in PR #275947 .
If you think that "The above 'fix' may be incorrect" the correct
response is to submit a PR which removes the 'fix' and get it reviewed.
Likewise, if you think that "For clang it's not necessary" you
should submit a PR which wraps it in `if !isClang`.
`cc-wrapper` is full of too much junk as it is, let's not make
things worse.
2024-01-20 05:46:41 +00:00
Weijia Wang
1fcb965033
Merge pull request #273499 from raphaelr/fix/tests.writers.simple.fsharp
...
tests.writers.simple.fsharp: Add missing dependency
2024-01-20 06:12:22 +01:00
Maciej Krüger
45308f5528
Merge pull request #281662 from hacker1024/feature/flutter-build-web
...
Support Web builds in buildFlutterApplication
2024-01-19 23:56:52 +01:00
hacker1024
64f9fa0d2c
buildFlutterApplication: Change flutterHostPlatform to targetFlutterPlatform
2024-01-19 11:07:33 +11:00
Weijia Wang
b0fb3f62d0
Merge pull request #278242 from raphaelr/mknugetsource-remove-ifd
...
mkNugetSource: Remove meta.licenses attribute
2024-01-18 09:22:38 +01:00
hacker1024
3b33435d02
flutter.buildFlutterApplication: Add multiShell attribute
2024-01-18 14:20:03 +11:00
hacker1024
e3b2edadef
dartHooks.dartInstallHook: Add trailing newline
2024-01-18 12:17:43 +11:00
hacker1024
046da09ddd
flutter.buildFlutterApplication: Properly throw unsupported host platform error
2024-01-18 11:59:38 +11:00
hacker1024
f51a0b053d
flutter.buildFlutterApplication: Allow building for the Web
2024-01-18 10:27:32 +11:00
hacker1024
b43ee05f4e
dartHooks.dartInstallHook: Allow disabling cache installation independently
2024-01-18 10:15:35 +11:00
hacker1024
196a0a5b2d
buildDartApplication: Add custom outputs to the end of the list
2024-01-18 10:13:57 +11:00
Valentin Gagarin
675aa305a1
Merge pull request #281227 from fricklerhandwerk/fix-backticks
2024-01-16 08:19:26 +01:00
Vladimír Čunát
141a1ec41d
Merge #279934 : fetchFromGitHub: drop unzip
2024-01-16 05:52:01 +01:00
Maciej Krüger
60e27c9596
Merge pull request #280875 from hacker1024/fix/dart-language-version-regex
...
pub2nix: Fix language version RegEx on Darwin
2024-01-16 02:17:34 +01:00
Valentin Gagarin
eaebe13ebd
doc: use markdown backticks for code tokens
2024-01-15 23:03:14 +01:00
Valentin Gagarin
2392daed23
Merge pull request #277534 from mcdonc/doc-trivial-builders-writetext
...
* doc: improve documentation for trivial text writing functions
Co-authored-by: Brian Merchant <bzm3r@proton.me>
Co-authored-by: Robert Hensing <robert@roberthensing.nl>
Co-authored-by: Alexander Groleau <alex@proof.construction>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-01-15 22:34:40 +01:00
Yureka
0eed8836c5
buildRustPackage: disable cargo-auditable on pkgsStatic aarch64
2024-01-15 22:34:02 +01:00
Yureka
48a6213611
rust: use lld on pkgsStatic aarch64
2024-01-15 22:34:02 +01:00
Yureka
b8076b893e
rust: allow linker to be different from compiler
2024-01-15 22:34:02 +01:00
Robert Hensing
559d06bbb2
trivial-builders: Remove redundant docs - link instead
2024-01-15 09:02:45 +01:00
hacker1024
ee18b58cf4
pub2nix: Fix language version regex on Darwin
2024-01-14 17:21:51 +11:00
Will Fancher
9e9a77c512
Merge pull request #279329 from r-ryantm/auto-update/makeInitrdNGTool
...
makeInitrdNGTool: 0.1.0 -> 0.1.0
2024-01-13 19:02:08 -05:00
Valentin Gagarin
fd78de6eeb
Merge pull request #267285 from fricklerhandwerk/code-comment
2024-01-13 20:51:37 +01:00
Ryan Lahfa
41aa423726
Merge pull request #236370 from amarshall/applypatches-nopatches
...
applyPatches: skip creating additional drv when no patches
2024-01-13 16:50:34 +01:00
Someone
bc5ed95a04
Merge pull request #275947 from SomeoneSerge/fix/cuda-cc-wrapper
...
cudaPackages.backendStdenv.cc: gccForLibs
2024-01-13 09:36:02 +00:00
Mario Rodas
19ce690703
Merge pull request #277899 from trofi/build-support-fetchgithub-fix-metadata-eval
...
build-support/fetchgithub: fix metadata eval for arguments without lo…
2024-01-12 17:56:46 -05:00
Andrew Marshall
52c27352ce
applyPatches: skip creating additional drv when no patches
...
If there are no `patches` or `postPatch`, then this will just do work to
make something equivalent to `src`. Instead, just return `src` in that
case.
2024-01-12 15:49:24 -05:00
Weijia Wang
71a024e1f6
fetchFromGitHub: drop unzip
2024-01-12 20:26:20 +01:00
Weijia Wang
c28c56f379
fetchzip: allow dropping unzip
2024-01-12 20:26:16 +01:00
Ryan Lahfa
d74aefe80e
Merge pull request #251267 from lilyinstarlight/fix/dotnet-installPath
...
buildDotnetModule: actually use installPath
2024-01-12 19:30:12 +01:00
Someone Serge
8eda4c36a5
cc-wrapper: cxxStdlib: expose solib and package separately
2024-01-12 17:38:00 +00:00
Rahul Butani
290ea23649
cc-wrapper: expose the c++ std library being used
...
(cherry picked from commit dc6a8f9f7912363577e11520bafa040c0db14359)
2024-01-12 17:38:00 +00:00
github-actions[bot]
5ee7600250
Merge master into staging-next
2024-01-11 12:01:18 +00:00
Maciej Krüger
f3f4f93651
Merge pull request #280003 from hacker1024/feature/dart-auto-pubspec-lock
...
buildDartApplication: Allow reading pubspec.lock with IFD
2024-01-11 09:21:59 +01:00
github-actions[bot]
28d4a2210a
Merge master into staging-next
2024-01-11 06:01:20 +00:00
John Ericson
3eb8277236
Merge pull request #278679 from kolloch/feature/build-rust-crate-without-sharedLibrary-extension
...
build-rust-crate: Allow missing `hostPlatform.extensions.sharedLibrary`
2024-01-10 21:50:54 -05:00
Weijia Wang
2f9e98ccf3
Merge branch 'master' into staging-next
2024-01-10 23:12:44 +01:00
Pascal Bach
f709ab9d6a
Merge pull request #277154 from aib/ocitools-fix-invalid-cgroup-mount-option
...
ociTools: Fix invalid cgroup mount option
2024-01-10 23:06:54 +01:00
hacker1024
778cefd464
buildDartApplication: Allow reading pubspec.lock with IFD
2024-01-10 20:29:53 +11:00
github-actions[bot]
122355be99
Merge master into staging-next
2024-01-10 00:02:18 +00:00
Robert Hensing
098ffee102
Merge pull request #279487 from bryango/checkpoint-build-polish
...
checkpointBuildTools: mkCheckpointedBuild -> mkCheckpointBuild
2024-01-09 22:30:22 +01:00
K900
838aefefc3
Merge remote-tracking branch 'origin/master' into staging-next
2024-01-09 22:42:37 +03:00
Jeff Huffman
a6671578ff
buildFHSEnv: bind dbus session bus into place when privateTmp enabled ( #278917 )
2024-01-09 18:29:53 +01:00
K900
bff9ee8862
Merge remote-tracking branch 'origin/master' into staging-next
2024-01-09 13:03:34 +03:00
Jörg Thalheim
99d3b3d7bf
Merge pull request #279486 from r-burns/exec-format-cleanup
...
treewide: simplify exec format conditionals
2024-01-09 09:44:34 +01:00
Bryan Lai
d7253bea6d
doc: polish the docs of checkpointBuildTools
...
... following suggestions from @phip1611 and @infinisil.
2024-01-09 01:34:21 +08:00
Bryan Lai
5f3aad00ff
checkpointBuildTools: minor refactor
...
Add some minor improvements of the package, and use temp files for the
source difference patch, such that it is more reliable. This follows
from the suggestions of @infinisil.
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2024-01-09 01:14:48 +08:00
Martin Weinelt
ef1898454c
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
- pkgs/development/python-modules/aiohappyeyeballs/default.nix
2024-01-08 16:34:52 +01:00