uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
18
pkgs/servers/web-apps/discourse/notification_email.patch
Normal file
18
pkgs/servers/web-apps/discourse/notification_email.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
diff --git a/db/fixtures/990_settings.rb b/db/fixtures/990_settings.rb
|
||||
deleted file mode 100644
|
||||
index 6f21e58813..0000000000
|
||||
--- a/db/fixtures/990_settings.rb
|
||||
+++ /dev/null
|
||||
@@ -1,12 +0,0 @@
|
||||
-# frozen_string_literal: true
|
||||
-
|
||||
-if SiteSetting.notification_email == SiteSetting.defaults[:notification_email]
|
||||
- # don't crash for invalid hostname, which is possible in dev
|
||||
- begin
|
||||
- SiteSetting.notification_email = "noreply@#{Discourse.current_hostname}"
|
||||
- rescue Discourse::InvalidParameters
|
||||
- if Rails.env.production?
|
||||
- STDERR.puts "WARNING: Discourse hostname: #{Discourse.current_hostname} is not a valid domain for emails!"
|
||||
- end
|
||||
- end
|
||||
-end
|
||||
Loading…
Add table
Add a link
Reference in a new issue