GNU bug report logs - #58339
[PATCH 0/2] Add simple Guix extensions as example

Previous Next

Package: guix-patches;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Thu, 6 Oct 2022 16:37:01 UTC

Severity: normal

Tags: moreinfo, patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 0/2] Add simple Guix extensions as example
Date: Thu,  6 Oct 2022 18:36:09 +0200
Hi,

Based on patch#57982 [1], here are two simple examples for extending Guix
subcommands.  Here are starter versions which will be improved.

The first is based on a binary; I replaced 'git-send-email' by 'hello'.

The second is based on a simple pure Guile module.  Somehow, it is the first
step to document Guix extensions as proposed at 10 years event [2].

For instance, it is not handy to manually tweak the %standard-phases of
guile-build-system when maybe we could have guix-build-system (or whatever
more relevant name, bikeshed open ;-)).  Neither to tweak the native-inputs.


1: <http://issues.guix.gnu.org/issue/57952>
2: <https://10years.guix.gnu.org/video/guix-repl-to-infinity-and-beyond/>

Cheers,
simon


Efraim Flashner (1):
  gnu: Add guix-hello.

zimoun (1):
  gnu: Add guix-example.

 gnu/local.mk                     |  1 +
 gnu/packages/guix-extensions.scm | 97 ++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)
 create mode 100644 gnu/packages/guix-extensions.scm


base-commit: 5b42b64ea89564c58325d16d3d0f4a0a03ebae0f
-- 
2.36.0





This bug report was last modified 2 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.