Skip to content

making nix-build more interactive and give it some color #207

Closed

Description

@qknight

hi,

as i pointed out at our FOSDEM 2014 sprint i am interested in making the output on running:
nixos-rebuild switch more meaningful.

i've prepared this prototype:
https://github.com/qknight/nix-build-hack

see:
https://github.com/qknight/nix-build-hack/blob/master/screenshot1.jpeg

what is currently missing:

  • resizing of the terminal does not have any effect yet
  • key echo is not disabled yet
  • ctrl+c is not implemented in a way that it would run clearStatus()

note: this is prototype code quality to check about usability.

now i need your help as i need to know how to integrate this code into nix-build! i see two interesting ways of doing so:

  1. use libcurl as a library and add a dbus wrapper to it and interconnect all the builders and fetchers using dbus
  2. use a named pipe or socket for communication between this logger interface and the builders and fetchers

or maybe something completely else...?

regards,
qknight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions