Eelco Dolstra
92926be2fe
Fix "0 store paths deleted" message
2013-01-04 15:17:19 +01:00
Eelco Dolstra
b424d29d1b
Open the database after removing immutable bits
2013-01-03 13:29:17 +01:00
Eelco Dolstra
3007f57377
Remove tabs
2013-01-03 13:00:46 +01:00
Eelco Dolstra
def5160b61
Clear any immutable bits in the Nix store
...
Doing this once makes subsequent operations like garbage collecting
more efficient since we don't have to call makeMutable() first.
2013-01-03 12:59:23 +01:00
Eelco Dolstra
0a4e90395c
Urgggh
...
http://hydra.nixos.org/build/3661100
2013-01-02 23:52:15 +01:00
Eelco Dolstra
f12492c66d
Manual: Fix "nix-store --export" example
2013-01-02 22:36:08 +01:00
Eelco Dolstra
aebea2e489
Reinstate the http://nixos.org/binary-cache default for the binary-caches setting
2013-01-02 22:16:37 +01:00
Eelco Dolstra
649bb60617
Use sysconfdir=/etc
2013-01-02 22:12:19 +01:00
Eelco Dolstra
42d6f640c1
Update release notes
2013-01-02 13:00:55 +01:00
Eelco Dolstra
299141ecbd
If a substitute closure is incomplete, build dependencies, then retry the substituter
...
Issue #77 .
2013-01-02 12:38:28 +01:00
Eelco Dolstra
1b3a78a459
Automatically fall back if the references of a substitute are not substitutable
...
Fixes #77 .
2013-01-02 12:00:26 +01:00
Eelco Dolstra
82248abd8f
Add a test for incomplete closures in the binary cache
...
Issue #77 .
2013-01-02 11:45:23 +01:00
Eelco Dolstra
12f9129f60
nix-build: Support talking to old daemons
...
Fixes #76 .
2012-12-29 23:21:46 +01:00
Eelco Dolstra
b7629778ef
Allow mounting a path in a different location in the chroot
...
Fixes #24 .
2012-12-29 23:04:02 +01:00
Eelco Dolstra
68dcbb187e
download-from-binary-cache: Use the channels of the calling user rather than root
...
This should make live easier for single-user (non-daemon)
installations. Note that when the daemon is used, the "calling user"
is root so we're not using any untrusted caches.
2012-12-21 15:00:07 +01:00
Eelco Dolstra
5ee7d8fbab
Typo fix
2012-12-21 00:18:59 +01:00
Eelco Dolstra
2754a07ead
nix-store -q --roots: Respect the gc-keep-outputs/gc-keep-derivations settings
...
So if a path is not garbage solely because it's reachable from a root
due to the gc-keep-outputs or gc-keep-derivations settings, ‘nix-store
-q --roots’ now shows that root.
2012-12-20 18:41:44 +01:00
Eelco Dolstra
06f62defe6
Yet another rewrite of the garbage collector
...
But this time it's *obviously* correct! No more segfaults due to
infinite recursions for sure, etc.
Also, move directories to /nix/store/trash instead of renaming them to
/nix/store/bla-gc-<pid>. Then we can just delete /nix/store/trash at
the end.
2012-12-20 17:32:15 +01:00
Eelco Dolstra
9c29a2ed35
Give a better error message if writeFile fails due to permission issues
2012-12-20 12:22:13 +01:00
Eelco Dolstra
e775d4d84f
If gc-keep-derivations is set, only keep the actual deriver
...
This prevents zillions of derivations from being kept, and fixes an
infinite recursion in the garbage collector (due to an obscure cycle
that can occur with fixed-output derivations).
2012-12-19 15:33:09 +01:00
Eelco Dolstra
fbf0b2fa45
Kill the build hook rather than shutting it down cleanly
...
Waiting for the hook to shut down cleanly sometimes seems to lead to
hangs.
2012-12-19 11:47:42 +01:00
Eelco Dolstra
228ea7c2f9
Revert brain fart
...
This reverts commit cc511fd65b
.
2012-12-18 20:43:47 +01:00
Eelco Dolstra
cc511fd65b
Check for potential infinite select() loops when building
2012-12-18 18:50:05 +01:00
Stuart Pernsteiner
a9045c727f
fix use-after-free bug in mkString(Value&, Symbol&)
2012-12-13 11:13:20 +01:00
Eelco Dolstra
9fa12fc201
Allow setting the profile location using $NIX_PROFILE
...
Fixes #69 .
2012-12-12 16:01:46 +01:00
Eelco Dolstra
3ad53e43c8
Debian package: Add dependency on libwww-curl-perl
...
Fixes issue #70 .
2012-12-11 16:50:21 +01:00
Eelco Dolstra
772778c0ec
On SQLITE_BUSY, wait a random amount of time
...
If all contending processes wait a fixed amount of time (100 ms),
there is a good probability that they'll just collide again.
2012-12-11 11:49:42 +01:00
Eelco Dolstra
e087bfef5f
Bump version number
2012-12-07 13:14:04 +01:00
Eelco Dolstra
a6ce6d9e7c
Fix manual generation
...
Grmbl.
2012-12-06 16:55:57 +01:00
Eelco Dolstra
8cc19ed089
Set a long SQLite timeout in the binary cache substituter
2012-12-06 11:43:34 +01:00
Eelco Dolstra
52edef3495
Fix RPM build
...
http://hydra.nixos.org/build/3436627
2012-12-05 23:25:40 +01:00
Eelco Dolstra
8d100dbef1
Add a dependency on xz-utils
2012-12-05 12:18:07 +01:00
Eelco Dolstra
5c487761c4
Add a dependency on xz
2012-12-05 12:17:12 +01:00
Eelco Dolstra
3631dc6b2f
Typo
2012-12-05 12:15:06 +01:00
Eelco Dolstra
aa61bc7472
Fix RPM build
...
http://hydra.nixos.org/build/3436511
2012-12-05 12:05:43 +01:00
Eelco Dolstra
0f96966a44
Add release date
2012-12-05 11:03:06 +01:00
Eelco Dolstra
566afa1e9c
Support xz compression of nixexprs.tar in channels
2012-12-05 11:02:44 +01:00
Eelco Dolstra
444b03a36f
Produce an xz-compressed tarball
...
Footnote: doing "make dist-gzip dist-xz" doesn't work with Automake;
you have to do "make dist-gzip; dist-xz". That's because the dist-*
targets delete the temporary distdir at the end.
2012-12-05 10:23:53 +01:00
Eelco Dolstra
d5a01d0f9d
Build Debs for Ubuntu 12.10
2012-12-05 09:54:41 +01:00
Eelco Dolstra
a7b4aaa2c3
Updated release notes
2012-12-04 17:41:51 +01:00
Eelco Dolstra
3100b29fc5
Tiny optimisation in the filter primop
2012-12-04 17:22:20 +01:00
Eelco Dolstra
094a08f839
Document new primops
2012-12-04 17:15:32 +01:00
Florian Friesdorf
4387d19359
nix-channel --update needs bzip2
2012-12-04 16:35:27 +01:00
Eelco Dolstra
24d5875514
Document multiple output support
2012-12-04 16:03:56 +01:00
Eelco Dolstra
b215b23e9e
Test priorities
2012-12-04 14:47:50 +01:00
Eelco Dolstra
56d29dcd62
buildenv.pl: Create symlinks in priority order
...
This reduces unnecessary symlink/unlink steps.
2012-12-04 14:45:32 +01:00
Eelco Dolstra
2d5e8e267b
Add a test for ‘nix-env --set-flag active ...’
2012-12-04 14:30:34 +01:00
Eelco Dolstra
5ad89398d1
nix-env: Install all outputs of a derivation
...
If you explicitly install a package, presumably you want all of it.
So symlink all outputs in the user environment.
2012-12-04 14:20:36 +01:00
Eelco Dolstra
21c2d8d102
Test the ‘--prebuilt-only’ flag
2012-12-03 21:02:06 +01:00
Eelco Dolstra
d62fc71b85
Fix the ‘--prebuilt-only’ flag
2012-12-03 21:01:41 +01:00