[Nix-dev] Nix GUI

Anders F Björklund afb at algonet.se
Sun Apr 11 22:37:33 CEST 2010


Marc Weber wrote:

>> I made a proof-of-concept implementation of a "--gui"
>> that would use graphic interface rather than console.
> What features does this gui provide?

Somewhere inbetween "none" and "a nice start and end". :-)
Basically it was just to see what could be done from Perl.
(I've mostly used Python or Ruby for other GUI scripting,
while using Perl for various system admin tasks and magic)

It would be possible to expand it into a similar perl wrapper
for other nix tasks than just what nix-install-package does,
that would just fork a system call to "nix-env" or "curl".
Something like what Smart offers for other package managers ?

* http://smartpm.org/

> is in a --gui for nixos or nix-env or a different tool?

In this little test it was just for "nix-install-package".
But it could be for any perl script, like nix-pull or so...

To integrate "proper" with nix-env and the rest of it, would
probably take C++ and a libnix.so and a real Qt interface ?

--anders




More information about the nix-dev mailing list