GNU bug report logs - #26732
add '--target=' option for 'guix environment' (similar to 'guix build')

Previous Next

Package: guix;

Reported by: Sergei Trofimovich <slyfox <at> inbox.ru>

Date: Mon, 1 May 2017 11:37:02 UTC

Severity: wishlist

To reply to this bug, email your comments to 26732 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#26732; Package guix. (Mon, 01 May 2017 11:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sergei Trofimovich <slyfox <at> inbox.ru>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 01 May 2017 11:37:02 GMT) Full text and rfc822 format available.

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

From: Sergei Trofimovich <slyfox <at> inbox.ru>
To: bug-guix <at> gnu.org
Subject: add '--target=' option for 'guix environment' (similar to 'guix
 build')
Date: Mon, 1 May 2017 12:35:35 +0100
[Message part 1 (text/plain, inline)]
[ context: https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00966.html ]

Currently 'guix build' supports '--target=' option to allow cross-compilation,
but 'guix environment' doe not. Sometimes it would be nice to peek at the
environment that 'guix build' creates.

Concrete example:

  When debugging 're2' cross-compilation error I used the following command
  to build a package:

    ./pre-inst-env guix build --check re2 --target=alpha-unknown-linux-gnu --no-grafts

  I was not sure what does g++ vs. TARGET-g++ means in guix.

  Would be nice to have an ability to get exactly build environment as:

    ./pre-inst-env guix environment re2 --target=alpha-unknown-linux-gnu --no-grafts

Thanks!

-- 

  Sergei
[Message part 2 (application/pgp-signature, inline)]

Severity set to 'wishlist' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 03 Feb 2020 20:55:02 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 129 days ago.

Previous Next


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