From a74d449daf0f23b6a6bdc2f2b6fd12a6d40f63a3 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Wed, 16 Feb 2011 11:49:08 +0000
Subject: [PATCH] * nixSqlite expects another integer (denoting the size of the
 NAR) in   `nix-store --load-db'.

svn path=/nixpkgs/trunk/; revision=25988
---
 pkgs/build-support/kernel/paths-from-graph.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkgs/build-support/kernel/paths-from-graph.pl b/pkgs/build-support/kernel/paths-from-graph.pl
index 43ce4e68db44..f18662372103 100644
--- a/pkgs/build-support/kernel/paths-from-graph.pl
+++ b/pkgs/build-support/kernel/paths-from-graph.pl
@@ -53,6 +53,7 @@ elsif ($ENV{"printRegistration"} eq "1") {
     foreach my $storePath (sort (keys %storePaths)) {
         print "$storePath\n";
         print "0000000000000000000000000000000000000000000000000000000000000000\n"; # !!! fix
+        print "0\n"; # !!! fix	
         print "\n"; # don't care about preserving the deriver
         print scalar(@{$refs{$storePath}}), "\n";
         foreach my $ref (@{$refs{$storePath}}) {