unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Reza Housseini <reza.housseini@gmail.com>
To: help-guix@gnu.org
Subject: Inherit from a package
Date: Tue, 27 Jun 2023 13:22:11 +0200	[thread overview]
Message-ID: <b1ce7469-779a-378e-875d-1897ba85b648@gmail.com> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 597 bytes --]

Hello Guixers

I have a package with modified phases and use of the version identifier 
(#$version) in various steps of the build process. Unfortunately when I 
inherit from this package and change the source and version, the version 
used in the new package is the same as from the inherited package. Is 
this intended behavior or do I have to copy somehow the modified phases 
over to the inherited package?

Hope the problem is clear and somebody can point me to a solution.

Cheers,
Reza

P.S. Do I have to use substitute-keyword-arguments in the inherited 
package arguments?

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 15557 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2023-06-27 11:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-27 11:22 Reza Housseini [this message]
2023-06-28  2:13 ` Inherit from a package Bruno Victal

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=b1ce7469-779a-378e-875d-1897ba85b648@gmail.com \
    --to=reza.housseini@gmail.com \
    --cc=help-guix@gnu.org \
    /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.
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).