!UNVBThoJtlIiVwiDjU:nixos.org

Staging

350 Members
Staging merges | Find currently open staging-next PRs: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+head%3Astaging-next+head%3Astaging-next-21.05+is%3Aopen114 Servers

Load older messages


SenderMessageTime
26 Sep 2025
@emilazy:matrix.orgemilyI wouldn't be surprised if building LLVM with GCC on Darwin is broken already :) so that's mostly relevant for Linux19:32:03
@ghpzin:envs.net@ghpzin:envs.net Then I guess I will try to PR tomorrow, because llvmPackages_{18,19}.mlir and llvmPackages_18.{lldb,llvm} do not build with gcc15.
I tried to make patches sane, but upstream not backporting and changing include lines between versions made it harder.
19:36:54
@ghpzin:envs.net@ghpzin:envs.net Then I guess I will try to PR tomorrow, because llvmPackages_{18,19}.mlir and llvmPackages_18.{lldb,llvm} do not build with gcc15.
I tried to make patches sane, but upstream not backporting and changing include lines between versions made it harder.
My favorite is that one commit that would apply cleanly if only author did not bundle some bazel file change into same commit with it.
19:39:41
@ghpzin:envs.net@ghpzin:envs.net Then I guess I will try to PR tomorrow, because llvmPackages_{18,19}.mlir and llvmPackages_18.{lldb,llvm} do not build with gcc15.
I tried to make patches sane, but upstream not backporting and changing include lines between versions made it harder.
My favorite is that one patch that would apply cleanly if only author did not bundle some bazel file change into same commit with it.
19:40:05
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de) fetchpatch2 { excludes = [ "<bazel file>" ]; } 19:44:33
@emilazy:matrix.orgemily (fetchpatch over fetchpatch2 please) 19:45:06
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)fetchpatch doesn't do excludes though, right?19:45:21
@emilazy:matrix.orgemily(ough, need to revert that docs change once I have more than 0 slack…)19:45:23
@emilazy:matrix.orgemilyit does.19:45:25
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)HUH#19:45:29
@emilazy:matrix.orgemily fetchpatch does basically everything except renames. 19:45:30
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)okay then19:45:50
@samasaur:matrix.orgsamasaur what is the difference between these two. i've been defaulting to fetchpatch2 (higher number is clearly better) 19:45:52
@emilazy:matrix.orgemilyit was meant to be better :(19:45:58
@emilazy:matrix.orgemily fetchpatch2 uses a newer version of the patch-munging program 19:46:04
@emilazy:matrix.orgemilyit handles renames19:46:08
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)fetchpatch2 bad, use fetchpatch if possible19:46:13
@emilazy:matrix.orgemily unfortunately, it does not strip the index … Git lines containing truncated commit hashes 19:46:15
@emilazy:matrix.orgemilyand those change, as repos get bigger19:46:19
@emilazy:matrix.orgemily you need ?full_index=1 to use fetchpatch2 safely with GitHub patches 19:46:28
@emilazy:matrix.orgemilyand some forges don't have an option for it at all19:46:33
@emilazy:matrix.orgemily so unfortunately fetchpatch is usually the better option 19:46:39
@emilazy:matrix.orgemily AIUI, they fixed this upstream, so we may be due for a fetchpatch3 that is strictly better than both 19:46:51
@emilazy:matrix.orgemilybut frankly… I am going to want a test suite19:46:59
@emilazy:matrix.orgemilysince we have been bitten once already there19:47:10
@emilazy:matrix.orgemily btw did you know that patch can't handle the diffs that diff/git diff produce for filenames with spaces in them? :( 19:50:08
@emilazy:matrix.orgemilyand that Meson deliberately uses spaces in its source tree?19:50:23
@samasaur:matrix.orgsamasaur okay I think I was doing this. is fetchpatch still better than fetchpatch2 with full_index=1? 19:50:43
@emilazy:matrix.orgemilywell, sometimes the patch is not on GitHub19:50:54
@emilazy:matrix.orgemily but they should be mostly equivalent I think, I forget if there are any other fetchpatch2 regressions 19:51:03

Show newer messages


Back to Room ListRoom Version: 6