Shea Levy
c7417f5a3c
Merge pull request #250577 from shlevy/nix-buffer-new-emacs
...
nixBufferBuilders fixes
2023-08-24 08:53:56 -04:00
Brian McGee
9aa91ec7b5
build-support/vm: fix makeImageTestScript
...
`qemu-img create` now requires an additional `-F <second_image_format>` flag.
https://github.com/qemu/qemu/blob/master/docs/about/removed-features.rst#qemu-img-backing-file-without-format-removed-in-61
2023-08-24 09:09:43 +01:00
Adam Joseph
be547cb31f
Merge pull request #247527 from oxij/metrics/fetchzip
...
fetchzip: cleanup and improve metrics
2023-08-23 05:12:47 +00:00
OTABI Tomoya
ccaca85500
Merge pull request #249091 from TomaSajt/dotnet-fix
...
Fix useDotnetFromEnv's DOTNET_ROOT detection
2023-08-23 14:04:47 +09:00
OTABI Tomoya
55e2339423
Merge pull request #249176 from TomaSajt/build-dotnet-global-tool-fix
...
buildDotnetGlobalTool: fix typo
2023-08-23 13:57:55 +09:00
zowoq
9b562802e0
Revert "buildGoModule: set GOPROXY to go default"
...
This reverts commit 3392d56b72
.
Fixed in cbc976a97c
2023-08-22 09:20:22 +10:00
github-actions[bot]
1bb285561e
Merge master into staging-next
2023-08-20 06:00:56 +00:00
Robert Schütz
cf970f13ab
Merge pull request #249879 from dotlambda/carto-buildNpmPackage
...
carto: use buildNpmPackage
2023-08-20 04:11:43 +00:00
github-actions[bot]
f6a4c6f912
Merge master into staging-next
2023-08-20 00:02:29 +00:00
Adam Joseph
af0400c500
Merge pull request #193086 from Atry/stdenv.cc.libcxx
...
clang-wrapper and gcc-wrapper: add `stdenv.cc.libcxx` to detect the standard C++ library
2023-08-19 21:11:51 +00:00
github-actions[bot]
b34f222b02
Merge master into staging-next
2023-08-19 18:00:51 +00:00
Robert Schütz
96e5dce777
buildNpmPackage: use installManPage
2023-08-19 10:04:00 -07:00
Robert Hensing
65d41fb588
Merge pull request #248735 from considerate/considerate/merge-docker
...
dockerTools: replace --no-clobber with --update=none
2023-08-19 17:58:40 +02:00
Viktor Kronvall
ca072c08a2
dockerTools: replace fakechroot with proot
...
The command `fakechroot` errored with buffer overflows. The `proot`
command doesn't seem to suffer from the same problem. The tar command
creating the layer errors with "permission denied" on a bunch of paths
in /proc but the layer seems to get built anyway.
2023-08-19 23:34:21 +09:00
github-actions[bot]
1e271fd42a
Merge master into staging-next
2023-08-19 06:01:05 +00:00
Pierre Bourdon
28693fb1c3
buildNpmPackage: symlink manpages to the correct output directory
2023-08-18 12:41:05 +02:00
Shea Levy
bf7a81d8dd
nixBufferBuilders: Don't assume the user has used eshell
2023-08-18 04:49:33 -04:00
Shea Levy
994f2560d0
Fix nixBufferBuilders for newer emacs
2023-08-17 10:38:37 -04:00
Viktor Kronvall
b35440bfcf
dockerTools: replace --no-clobber with --update=none
...
Since coreutils v9.2 the `--no-clobber` flag results in a non-zero exit
code when the destination files exist. Using `--update=none` will now
reproduce the old behavior of `--no-clobber`.
However, the `--update=none` flag was introduced in coreutils v9.3 and
thus `mergeImages` will fail if you have an older version than v9.3 in
stdenv after applying this commit.
[coreutils v9.3 changelog](f386722dc0/NEWS (L48)
)
2023-08-17 01:37:07 +09:00
TomaSajt
9646cb5c49
buildDotnetGlobalTool: fix typo
2023-08-14 20:56:27 +02:00
github-actions[bot]
674c2b1920
Merge master into staging-next
2023-08-14 18:01:03 +00:00
Artturin
b93da3f4b7
treewide: overrideScope'
-> overrideScope
...
`lib.makeScope` `overrideScope'` has been renamed to `overrideScope`
`fd --type f | xargs sd --string-mode "overrideScope'" "overrideScope"`
2023-08-14 18:46:47 +03:00
Yang, Bo
1b8ca87a83
Merge branch 'master' into stdenv.cc.libcxx
2023-08-12 14:19:01 -07:00
github-actions[bot]
9cc6a98540
Merge master into staging-next
2023-08-11 18:00:55 +00:00
Charlie Moog
0b4c5d23cd
trivial-builders: add meta.mainProgram to writeShellScriptBin
...
Derivations built with `writeShellScriptBin`
should always be runnable with `nix run`. At present,
the derivation is missing both `meta.mainProgram`
and `pname`– this means that `nix run` falls back
to inferring the bin path from `name`. This is
unreliable and depends on faulty heuristics.
For context, reference the following snippet from
`nix run --help`:
If installable evaluates to a derivation, it will try to execute the
program <out>/bin/<name>, where out is the primary output store path
of the derivation, and name is the first of the following that exists:
· The meta.mainProgram attribute of the derivation.
· The pname attribute of the derivation.
· The name part of the value of the name attribute of the derivation.
2023-08-11 00:40:37 -05:00
Artturi
442314b689
Merge pull request #247759 from Artturin/stripmktempdir
2023-08-10 15:18:58 +03:00
github-actions[bot]
37cdcaae78
Merge staging-next into staging
2023-08-09 12:01:51 +00:00
Francesco Gazzetta
b2e987dd16
Merge pull request #240348 from fgaz/write-shell-application/check-platforms
...
writeShellApplication: use shellcheck only where supported
2023-08-09 12:17:46 +02:00
github-actions[bot]
792f4d7934
Merge staging-next into staging
2023-08-08 18:01:27 +00:00
sternenseemann
af60e68744
testers.hasPkgConfigModules: allow checking multiple pkg-config mods
...
This is very useful in conjunction with meta.pkgConfigModules, as the
new tester can use the list provided by this meta attribute as a default
value for moduleNames, making its usage in passthru.tests very
convenient.
For backwards compatibility, a shim under the old name is maintained
with a warning.
2023-08-08 19:16:48 +02:00
Jan Malakhovski
9437e4da35
fetchurl: cleanup a bit by moving the warning into assert
2023-08-08 13:38:11 +00:00
Jan Malakhovski
9dcecbdb31
fetchzip: cleanup and improve metrics a bit
2023-08-08 13:25:28 +00:00
github-actions[bot]
f19f490d4e
Merge staging-next into staging
2023-08-08 12:01:54 +00:00
Nick Cao
b98f6d9072
Merge pull request #246712 from NickCao/jax-rework
...
python3Packages.{jax,jaxlib}: update to 0.4.14
2023-08-08 01:58:03 -06:00
TomaSajt
ed60ed3562
Fix useDotnetFromEnv's DOTNET_ROOT detection
2023-08-08 00:37:49 +02:00
Artturin
520a544ee5
setup-hooks/strip: Create the log file in '$TMDPIR'
...
vcunat said
> This invocation of mktemp creates the file in the current directory, which is bad practice. We should add "--tmpdir=$TMPDIR" or make the template absolute.
> I noticed because one package did cd $src during installing, which is a read-only path...
2023-08-07 18:20:56 +03:00
Robert Scott
0865f1f4d7
Merge pull request #219421 from risicle/ris-fortify-headers-auto
...
cc-wrapper: include fortify-headers before libc includes for musl
2023-08-06 22:50:48 +01:00
github-actions[bot]
bbf876fefa
Merge staging-next into staging
2023-08-06 18:01:26 +00:00
github-actions[bot]
191e60634e
Merge master into staging-next
2023-08-06 18:01:04 +00:00
Robert Scott
95c4a1fe96
cc-wrapper: include fortify-headers before libc includes for musl
2023-08-06 17:52:28 +01:00
Weijia Wang
b3e14fbf79
Merge pull request #247501 from oxij/fix/fetchrepoproject
...
fetchrepoproject: fix a bug
2023-08-06 16:32:48 +02:00
Jan Malakhovski
2c50e3491e
fetchrepoproject: fix a bug that was there since bef6bef0d2
2023-08-06 12:17:09 +00:00
github-actions[bot]
0031ae7742
Merge staging-next into staging
2023-08-06 00:03:36 +00:00
github-actions[bot]
c90f3611dc
Merge master into staging-next
2023-08-06 00:02:21 +00:00
Francesco Gazzetta
2c5990f03a
writeShellApplication: use shellcheck only where supported
2023-08-05 18:31:20 +02:00
Naïm Favier
ec2efb7476
Merge pull request #247164 from tjni/make-wrapper-dependencies
...
makeBinaryWrapper: remove cc dependency on aarch64-darwin
2023-08-05 10:30:54 +02:00
Vladimír Čunát
d5732d9669
Merge branch 'staging-next' into staging
2023-08-05 07:45:29 +02:00
Theodore Ni
ca73fb024a
makeBinaryWrapper: remove cc dependency on aarch64-darwin
2023-08-04 14:12:56 -07:00
K900
8bd0cd850b
requireFile: fix error message with SRI hashes
2023-08-04 15:34:30 +03:00
Artturi
c0731df13c
Merge pull request #238525 from tie/patch-shebang-update-store-paths
2023-08-04 01:21:07 +03:00