Remove buildtime and runtime dependency graph. It is useless on normal derivations.

This commit is contained in:
Rob Vermaas
2012-04-16 15:23:07 +02:00
parent 28b6ff3ed6
commit 334135448e
3 changed files with 2 additions and 55 deletions

View File

@ -1,23 +0,0 @@
package Hydra::View::NixDepGraph;
use strict;
use base qw/Catalyst::View/;
use IO::Pipe;
sub process {
my ($self, $c) = @_;
$c->response->content_type('image/svg+xml');
my @storePaths = @{$c->stash->{storePaths}};
my $fh = new IO::Handle;
open $fh, "nix-store --query --graph @storePaths | dot -Tsvg:cairo -Gdpi=100 -Gsize=20,20 -Gbgcolor=transparent |";
$c->response->body($fh);
return 1;
}
1;