summaryrefslogtreecommitdiff
path: root/modules/programs
diff options
context:
space:
mode:
authorMarwan Aljubeh <marwan.aljubeh@gmail.com>2023-03-07 12:53:20 +0000
committerGitHub <noreply@github.com>2023-03-07 12:53:20 +0000
commite62b83a934ea44d6da145cfe02b2d401d95d174f (patch)
tree3115c40ed3ee8789e30e80b60f7db92546a78300 /modules/programs
parent87b9d090ad39b25b2400029c64825fc2a8868943 (diff)
Fix system.patches
Currently, `system.patches` doesn't work because it will attempt to first detect if the patch has already been applied by checking if it can be applied in reverse. However, when that happens, `patch` detects that the supplied patch is incorrectly reversed and attempts to ask the user if they want to "Ignore -R": ``` Unreversed (or previously applied) patch detected! Ignore -R? [y] ``` Because the output is piped to `/dev/null` the user will basically see nothing and `darwin-rebuild switch` will hang until the user presses "Enter" (possibly to check if the terminal is frozen). At which point, patch will ignore the --reverse and exit successfully, preventing the patch from being applied at all. This change fixes that bug by using `--force` which tells patch that we know what we're doing and prevents it from prompting the user if they want to ignore `--reverse`.
Diffstat (limited to 'modules/programs')
0 files changed, 0 insertions, 0 deletions