unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: David Craven <david@craven.ch>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Graph an operating-system derivation
Date: Sat, 03 Sep 2016 16:33:02 +0200	[thread overview]
Message-ID: <87shthjboh.fsf@gnu.org> (raw)
In-Reply-To: <CAL1_immBFadY8U5DoBW=wQGSyEjUxxJQLByPjqNwCCHsput5kg@mail.gmail.com> (David Craven's message of "Sat, 3 Sep 2016 15:48:34 +0200")

Howdy!

David Craven <david@craven.ch> skribis:

> I'm trying to view the graph of an entire operating-system. I don't
> know yet if it's too complicated to actually produce something useful
> :)
>
> This is what I tried:
>
> guix graph -e '((@ (gnu system) operating-system-derivation) ((@ (guix
> scripts system) read-operating-system)
> "gnu/system/examples/bare-bones.tmpl"))'
>
> But it fails with "doesn't evaluate to a package". Is there a simple
> way to do this / a feature that's generally useful?

You can graph the OS derivation like this:

  guix graph -t derivation $(guix system build -d config.scm)

‘dot’ takes ages to process it and the result is too big to be of any
use (it might be less bad with use an interactive graph navigation tool
like Tulip).

Otherwise there’s also ‘guix system {extension,shepherd}-graph’.

What info would you like to see on the graph?

Ludo’.

  reply	other threads:[~2016-09-03 14:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-03 13:48 Graph an operating-system derivation David Craven
2016-09-03 14:33 ` Ludovic Courtès [this message]
2016-09-03 15:13   ` David Craven
2016-09-05 20:50     ` Ludovic Courtès

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=87shthjboh.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=david@craven.ch \
    --cc=guix-devel@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.
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).