about summary refs log tree commit diff
path: root/etc/portage/patches/app-admin/haskell-updater
diff options
context:
space:
mode:
Diffstat (limited to 'etc/portage/patches/app-admin/haskell-updater')
-rw-r--r--etc/portage/patches/app-admin/haskell-updater/emerge-no-ask.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/portage/patches/app-admin/haskell-updater/emerge-no-ask.patch b/etc/portage/patches/app-admin/haskell-updater/emerge-no-ask.patch
new file mode 100644
index 0000000..7b74439
--- /dev/null
+++ b/etc/portage/patches/app-admin/haskell-updater/emerge-no-ask.patch
@@ -0,0 +1,12 @@
+diff --git a/Distribution/Gentoo/PkgManager.hs b/Distribution/Gentoo/PkgManager.hs
+index 8e8cf0a..e7a3cef 100644
+--- a/Distribution/Gentoo/PkgManager.hs
++++ b/Distribution/Gentoo/PkgManager.hs
+@@ -95,6 +95,7 @@ defaultPMFlags               :: PkgManager -> [String]
+ defaultPMFlags Portage       = [ "--oneshot"
+                                , "--keep-going"
+                                , "--complete-graph"
++                               , "--ask=n"
+                                ]
+ defaultPMFlags PkgCore       = [ "--deep"
+                                , "--oneshot"

Consider giving Nix/NixOS a try! <3