summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/patches.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/patches.nix b/modules/system/patches.nix
index 92f45c1..bb384e8 100644
--- a/modules/system/patches.nix
+++ b/modules/system/patches.nix
@@ -62,7 +62,7 @@ in
${concatMapStringsSep "\n" (f: ''
f="$(basename ${f})"
- if ! patch --reverse --dry-run -d / -p1 < '${f}' &> /dev/null; then
+ if ! patch --force --reverse --dry-run -d / -p1 < '${f}' &> /dev/null; then
patch --forward --backup -d / -p1 < '${f}' || true
fi
'') cfg.patches}