Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
90ba019534 | ||
|
|
5bc2955997 | ||
|
|
937a54ae4a | ||
|
|
20cb2d80c6 | ||
|
|
13aeaf142e | ||
|
|
9f3601a36c | ||
|
|
f3660b1c8c | ||
|
|
d5219a351a | ||
|
|
1d86790910 |
No files matched your search
@@ -1,4 +1,14 @@
|
||||
Version 0.8 (April 11, 2005)
|
||||
Release 0.8.1 (April 13, 2005)
|
||||
|
||||
This is a bug fix release.
|
||||
|
||||
* Patch downloading was broken.
|
||||
|
||||
* The garbage collector would not delete paths that had references
|
||||
from invalid (but substitutable) paths.
|
||||
|
||||
|
||||
Release 0.8 (April 11, 2005)
|
||||
|
||||
NOTE: the hashing scheme in Nix 0.8 changed (as detailed below). As a
|
||||
result, `nix-pull' manifests and channels built for Nix 0.7 and below
|
||||
@@ -162,7 +172,7 @@ Nix 0.8 has the following improvements:
|
||||
* Manual updates.
|
||||
|
||||
|
||||
Version 0.7 (January 12, 2005)
|
||||
Release 0.7 (January 12, 2005)
|
||||
|
||||
* Binary patching. When upgrading components using pre-built binaries
|
||||
(through nix-pull / nix-channel), Nix can automatically download and
|
||||
@@ -184,7 +194,7 @@ Version 0.7 (January 12, 2005)
|
||||
dependencies are revealed.
|
||||
|
||||
|
||||
Version 0.6 (November 14, 2004)
|
||||
Release 0.6 (November 14, 2004)
|
||||
|
||||
Major changes include the following:
|
||||
|
||||
@@ -250,6 +260,6 @@ Major changes include the following:
|
||||
* Many bug fixes.
|
||||
|
||||
|
||||
Version 0.5 and earlier
|
||||
Release 0.5 and earlier
|
||||
|
||||
Please refer to the Subversion commit log messages.
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
AC_INIT(nix, "0.8")
|
||||
AC_INIT(nix, "0.8.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=1
|
||||
STABLE=0
|
||||
|
||||
# Put the revision number in the version.
|
||||
if test "$STABLE" != "1"; then
|
||||
|
||||
@@ -76,7 +76,7 @@ addToQueue $targetPath;
|
||||
|
||||
sub isValidPath {
|
||||
my $p = shift;
|
||||
system "@bindir@/nix-store --isvalid '$p' 2> /dev/null";
|
||||
system "@bindir@/nix-store --check-validity '$p' 2> /dev/null";
|
||||
return $? == 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -737,10 +737,10 @@ void deleteFromStore(const Path & _path)
|
||||
Transaction txn(nixDB);
|
||||
if (isValidPathTxn(txn, path)) {
|
||||
PathSet referers = getReferers(txn, path);
|
||||
if (referers.size() > 1 ||
|
||||
(referers.size() == 1 &&
|
||||
*referers.begin() != path))
|
||||
throw Error(format("cannot delete path `%1%' because it is in use") % path);
|
||||
for (PathSet::iterator i = referers.begin();
|
||||
i != referers.end(); ++i)
|
||||
if (*i != path && isValidPathTxn(txn, *i))
|
||||
throw Error(format("cannot delete path `%1%' because it is in use by path `%2%'") % path % *i);
|
||||
invalidatePath(txn, path);
|
||||
}
|
||||
txn.commit();
|
||||
|
||||
Reference in new issue
Block a user