-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
treewide: remove unreferenced patch files #271362
Conversation
...evelopment/tools/godot/3/mono/patches/gen_cs_glue_version.py/hardcodeGlueVersion_3.5.2.patch
Outdated
Show resolved
Hide resolved
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
684c6b7
to
f41aba3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went through the file history of all the patches that were modified less than a year ago. Nearly all were just forgotten to remove when their reference was deleted. The gcc patches were moved and refactored recently (911452c), I've verified they weren't referenced before. I'd say patches older than a year won't be missed if they're not referenced anywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gcc
changes look good to me. did not review the rest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked some things and those seem fine. Ofborg is happy.
repeat of NixOS#271362 Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`` Should cause 0 rebuilds.
Found with
fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'
The only false positives seem to be the
godot3-mono-glue
patch, which has a${version}
in the file name, and theflutter
patches inpkgs/development/compilers/flutter/patches/
, which are fetched withbuiltins.readDir
.Should be good if ofborg claims 0 rebuilds
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Priorities
Add a 👍 reaction to pull requests you find important.