Adam Joseph
62d571148a
default-crate-overrides: servo-fontconfig-sys needs fontconfig
2023-01-13 16:18:27 +00:00
Naïm Favier
bbb6af88eb
agda: pass through meta
2023-01-12 22:26:05 +01:00
Adam Joseph
dfa3f14493
cc-wrapper: -march= is not allowed on powerpc
...
Gcc does not allow `-march=` on PowerPC:
https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/RS_002f6000-and-PowerPC-Options.html#RS_002f6000-and-PowerPC-Options
Instead, `-mcpu=` should be used to set the minimum instruction set
and `-mtune=` is used to optimize instruction scheduling for a
specific processor. Both flags take the same set of valid values,
which includes `native`.
This commit causes `isGccArchSupported` to return `false` for PowerPC
targets so we never pass an `-march=` flag, since that will always be
rejected by gcc.
2023-01-10 14:05:03 +01:00
Artturi
27c1ec2ecf
Merge pull request #209816 from Artturin/deprecate-top-level-platform-aliases
2023-01-09 22:15:50 +02:00
Artturin
2eeb34c273
treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform
2023-01-09 21:13:22 +02:00
Erik Arvstedt
89c457d847
build-dotnet-module: fix mktemp
...
Re-add missing `-t` arg which I erroneously removed in
a98e520855
.
Without it, the tmpdir is created in $PWD.
2023-01-09 17:33:10 +01:00
Pavol Rusnak
9ede79d58b
Merge pull request #209357 from erikarvstedt/fix-dotnet-fetch-deps-tmpdir
...
build-dotnet-module: avoid `/run/user` for downloading packages
2023-01-09 16:12:38 +00:00
Nick Cao
46ee37ca1d
rustPlatform.bindgenHook: use the same clang/libclang as rustc
2023-01-08 15:22:04 +10:00
figsoda
45fc1f185f
rustPlatform.fetchCargoTarball: default outputHashAlgo to sha256
2023-01-07 17:53:21 -05:00
Erik Arvstedt
a98e520855
build-dotnet-module: avoid /run/user
for downloading packages
...
Inside `nix-shell`, `TMPDIR` (used by `mktemp`) is set to
`/run/user/<uid>` which is usually a tmpfs stored in RAM.
When fetching a large dotnet deps tree to this tmpdir from a
nix-shell (e.g. via `btcpayserver/update.sh`), this can easily exceed
system RAM and `fetch-deps` fails.
mktemp arg `-t` is deprecated and can be omitted.
2023-01-07 17:59:34 +01:00
sternenseemann
c98cda29f7
srcOnly: prevent phases being skipped
...
Previously srcOnly would not work for e.g.
`srcOnly haskell.compiler.ghcjs`, as the custom `installPhase` would be
skipped if `dontInstall` is set. Consequently, we need to ensure that
the two skippable phases we need will always be executed.
2023-01-06 19:02:50 +01:00
Jeremy Schlatter
2581bc08da
writers: fix typo in comment
2023-01-05 20:26:25 -08:00
Artturi
4c5307057a
Merge pull request #208358 from Artturin/makepkgconfigitemfixcross
2022-12-30 15:19:01 +02:00
Artturin
38602ad5c3
makePkgconfigItem: fix cross
2022-12-30 14:51:17 +02:00
Pol Dellaiera
8cd511dde1
feat: add passthru
flags in PHP extension builder
...
So they can be handled correctly by `nix-update` tool
2022-12-29 18:19:12 +01:00
markuskowa
fbc4d64b50
Merge pull request #207822 from quyse/vm_tools_ubuntu_2204
...
vmTools: add ubuntu 22.04
2022-12-28 19:23:33 +01:00
Artturi
f93a244d7c
Merge pull request #190613 from amjoseph-nixpkgs/pr/build-rust-crate/atk
2022-12-27 19:49:40 +02:00
Artturi
c584919520
Merge pull request #190614 from amjoseph-nixpkgs/pr/build-rust-crate/pangocairo
2022-12-27 19:48:23 +02:00
Artturi
3cb4b5cac4
Merge pull request #190603 from amjoseph-nixpkgs/pr/build-rust-crate/g_k4
2022-12-27 19:37:35 +02:00
Adam Joseph
b1a9bf530c
default-crate-overrides.nix: add pango-sys ( #190604 )
2022-12-27 19:36:30 +02:00
Artturi
88eb7d5d3f
Merge pull request #186761 from amjoseph-nixpkgs/pr/rust/default-crate-overrides/fix
2022-12-27 19:35:06 +02:00
Artturi
c1deac22a5
Merge pull request #190602 from amjoseph-nixpkgs/pr/build-rust-crate/cairo-sys-rs
2022-12-27 19:32:13 +02:00
Alexander Bich
aaa4244387
vmTools: add ubuntu 22.04
2022-12-26 10:58:52 +00:00
figsoda
b6c0e7f563
Merge pull request #205935 from figsoda/cargo-lock
...
rustPlatform.importCargoLock: add allowBuiltinFetchGit option
2022-12-25 19:38:36 -05:00
Artturi
0fbd19f3d9
Merge pull request #207315 from Artturin/fixcrossevalissues1
2022-12-23 18:50:57 +02:00
Walter Franzini
d2b0f9a9f6
dockerTools: make gzipped docker images faster to update by rsync
...
This passes --rsyncable / -R to pigz for input-determined block
locations, to improve rsync-ability.
2022-12-23 13:22:16 +01:00
Artturin
b36d9696c5
treewide: fix error: attribute 'runtimeShell' missing
2022-12-22 20:50:27 +02:00
Jan Tojnar
3c5fffed82
Merge pull request #206291 from jtojnar/mk-gsettings-patch
...
makeHardcodeGsettingsPatch: Support other constructors
2022-12-20 22:13:25 +01:00
Sandro
9c624f5879
Merge pull request #203117 from sikmir/vmtools
...
vmTools: update current maintained debian versions
2022-12-20 15:51:50 +01:00
Winter
865387061f
npmHooks.npmBuildHook: fix diagnostic
...
Single quotes must be used when using graves in a quote, else Bash will interpret it as a command to run.
Thanks to Dimitri for catching this (8e651111b7 (commitcomment-92100762)
).
2022-12-19 18:47:09 -05:00
Lily Foster
669f019379
npmHooks.npmConfigHook: make diagnostic match prefetch-npm-deps
...
This updates the diagnostic message for a missing package-lock.json to
match what fetchNpmDeps currently says
2022-12-19 18:47:09 -05:00
figsoda
424480f056
Merge pull request #206815 from SuperSandro2000/misc-cleanup
...
build-support: order comments above corresponding line
2022-12-19 16:46:18 -05:00
David McFarland
824d40aa04
build-dotnet-module: restore for current runtime by default
2022-12-19 15:36:25 -04:00
David McFarland
4c861dd26c
build-dotnet-module: add useAppHost parameter so it can be disabled
2022-12-19 15:36:25 -04:00
David McFarland
62ecb39a1f
buildDotnetModule: run tests on projectFile if testProjectFile is unset
2022-12-19 15:36:25 -04:00
David McFarland
507eff880d
build-dotnet: make passthru.packages a derivation
2022-12-19 15:36:25 -04:00
David McFarland
06e4d89943
build-dotnet-module: strip --runtime flags without using rid
2022-12-19 15:36:25 -04:00
David McFarland
3fdb6c5a90
dotnetCorePackages: move systemToDotnetRid out of sdk
2022-12-19 15:36:25 -04:00
Jan Tojnar
4346dee424
makeHardcodeGsettingsPatch: Support other constructors
...
In addition to `g_settings_new`, there are three other GSettings constructors:
https://docs.gtk.org/gio/ctor.Settings.new.html
2022-12-19 17:38:57 +01:00
Jan Tojnar
35d24b51f5
makeHardcodeGsettingsPatch: Rename from glib.mkHardcodeGsettingsPatch
...
glib expression is messy enough as is.
Also rename the `glib-schema-to-var` argument to `schemaIdToVariableMapping` to better match Nixpkgs coding style.
2022-12-19 17:17:32 +01:00
Sandro Jäckel
b33ee831d3
build-support: order comments above corresponding line
2022-12-19 08:47:54 +01:00
figsoda
ec8cb34358
treewide: fix typos
2022-12-17 19:39:44 -05:00
github-actions[bot]
ac36665726
Merge master into staging-next
2022-12-16 18:01:38 +00:00
Robert Hensing
922556a3d3
Merge pull request #191355 from GenericNerdyUsername/fetchzip-include-hidden
...
fetchzip: don't error out if the directory inside the archive starts with a "."
2022-12-16 18:08:36 +01:00
GenericNerdyUsername
725f4bc5be
fetchzip: don't error out if the directory inside the archive starts with a "."
2022-12-16 16:26:03 +00:00
github-actions[bot]
b9ac6ee4d9
Merge master into staging-next
2022-12-16 00:02:17 +00:00
Artturin
05a2dfd674
lib.replaceChars: warn about being a deprecated alias
...
replaceStrings has been in nix since 2015(nix 1.10)
so it is safe to remove the fallback
d6d5885c15
2022-12-15 22:25:51 +02:00
github-actions[bot]
96a0e614c8
Merge master into staging-next
2022-12-14 12:01:19 +00:00
Artturi
7484378899
Merge pull request #205874 from Artturin/shellcheckunwrapped
...
trivial-builders.writeShellApplication: use unwrapped pandoc
2022-12-14 13:21:52 +02:00
figsoda
cce3dc63a0
rustPlatform.importCargoLock: add allowBuiltinFetchGit option
2022-12-13 11:27:26 -05:00