unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: "Justin Veilleux" <terramorpha@cock.li>,
	"Ludovic Courtès" <ludo@gnu.org>
Cc: 54068@debbugs.gnu.org
Subject: [bug#54068] [PATCH] Add xmrig and p2pool
Date: Wed, 06 Apr 2022 20:24:47 +0200	[thread overview]
Message-ID: <172ba8211c961d060cb98166f9ff8fe6062b7ea9.camel@telenet.be> (raw)
In-Reply-To: <5effc6fe-1f61-3a97-5185-919b340bf287@cock.li>

[-- Attachment #1: Type: text/plain, Size: 930 bytes --]

Justin Veilleux schreef op wo 06-04-2022 om 11:33 [-0400]:
> +       (snippet
> +        (with-imported-modules '((guix build utils))
> +          #~(begin
> +              (use-modules (guix build utils))
> +              (substitute* "src/donate.h"
> +                (("constexpr const int kDefaultDonateLevel = 1;")
> +                 "constexpr const int kDefaultDonateLevel = 0;")
> +                (("constexpr const int kMinimumDonateLevel = 1;")
> +                 "constexpr const int kMinimumDonateLevel =
> 0;")))))))

This can be done a bit simpler:

(origin [...]
  (modules '((guix build utils)))
  (snippet #~(substitute* "src/donate.h" [...])))

not 100% sure if that works ...

Greetings,
Maxime.

p.s. Do you know any other distros packaging xmrig & p2pool?  Maybe
they can be informed as well ...

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2022-04-06 18:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-19 23:12 [bug#54068] [PATCH] Add xmrig and p2pool Justin Veilleux
2022-02-20 10:14 ` Maxime Devos
2022-02-20 10:17 ` Maxime Devos
2022-04-05 14:05   ` Ludovic Courtès
2022-04-05 18:57     ` Justin Veilleux
2022-04-06 10:29       ` Maxime Devos
2022-04-06 15:33         ` Justin Veilleux
2022-04-06 18:24           ` Maxime Devos [this message]
2022-04-06 19:46             ` Justin Veilleux
2022-04-06 19:53             ` Justin Veilleux
2022-08-12 15:45               ` bug#54068: " Guillaume Le Vaillant
2022-04-06  0:51     ` [bug#54068] " Justin Veilleux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=172ba8211c961d060cb98166f9ff8fe6062b7ea9.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=54068@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=terramorpha@cock.li \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).