nixpkgs-lint: Tweak

This commit is contained in:
Eelco Dolstra 2014-03-31 19:17:17 +02:00
parent 7ebd856a38
commit bdb658d033

View file

@ -31,8 +31,7 @@ GetOptions("package|p=s" => \$filter,
"maintainer|m=s" => \$maintainer,
"file|f=s" => \$path,
"help" => sub { showHelp() }
)
or die("syntax: $0 ...\n");
) or exit 1;
# Evaluate Nixpkgs into an XML representation.
my $xml = `nix-env -f '$path' -qa '$filter' --xml --meta --drv-path`;