Compare commits

...

5 Commits

Author SHA1 Message Date
Eelco Dolstra 645cfe41fb * Mark as stable. 2004-12-21 14:56:27 +00:00
Eelco Dolstra 49741353e3 * Release branch. 2004-12-21 14:55:52 +00:00
Eelco Dolstra 0d157eed99 * Don't barf on lines in nix-pull manifests that we don't recognise.
Necessary for compatibility with 0.7 patch deployment.
* Bumped version number to 0.6.1.
2004-12-21 13:05:25 +00:00
Eelco Dolstra 2bd9f0d76b * Missing dependency. 2004-12-21 11:50:01 +00:00
Eelco Dolstra 4570e6d245 * Create a Nix 0.6 maintenance branch. 2004-12-21 11:43:38 +00:00
3 changed files with 16 additions and 9 deletions

View File

@ -1,11 +1,11 @@
AC_INIT(nix, "0.6")
AC_INIT(nix, "0.6.1")
AC_CONFIG_SRCDIR(README)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE
# Change to `1' to produce a `stable' release (i.e., the `preREVISION'
# suffix is not added).
STABLE=0
STABLE=1
# Put the revision number in the version.
if test "$STABLE" != "1"; then

View File

@ -17,6 +17,7 @@ sub processURL {
open MANIFEST, "<$manifest";
my $inside = 0;
my $type;
my $storePath;
my $narurl;
@ -29,23 +30,27 @@ sub processURL {
next if (/^$/);
if (!$inside) {
if (/^\{$/) {
if (/^\s*(\w*)\s*\{$/) {
$inside = 1;
$type = $1;
$type = "narfile" if $type eq "";
undef $storePath;
undef $narurl;
undef $hash;
@preds = ();
}
else { die "bad line: $_"; }
} else {
if (/^\}$/) {
$inside = 0;
$$storePaths2urls{$storePath} = $narurl;
$$urls2hashes{$narurl} = $hash;
if ($type eq "narfile") {
foreach my $p (@preds) {
$$successors{$p} = $storePath;
$$storePaths2urls{$storePath} = $narurl;
$$urls2hashes{$narurl} = $hash;
foreach my $p (@preds) {
$$successors{$p} = $storePath;
}
}
}
@ -61,7 +66,7 @@ sub processURL {
elsif (/^\s*SuccOf:\s*(\/\S+)\s*$/) {
push @preds, $1;
}
else { die "bad line: $_"; }
}
}

View File

@ -26,6 +26,8 @@ lexer-tab.c lexer-tab.h: lexer.l
# ATerm helper function generation.
nixexpr.cc eval.cc parser.cc primops.cc: nixexpr-ast.hh
nixexpr-ast.cc nixexpr-ast.hh: ../aterm-helper.pl nixexpr-ast.def
$(perl) ../aterm-helper.pl nixexpr-ast.hh nixexpr-ast.cc < nixexpr-ast.def