diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-05-26T09·44+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-05-26T09·44+0000 |
commit | f8d91f20e6c88510282263715a1b87c99afad5a1 (patch) | |
tree | e76bee2541de9e7ccff08b403e938a8a04ff0bfb /scripts/nix-switch | |
parent | 13176d74cc522951e2c8ed6a878a04ddfce778ca (diff) |
* Nix can now fetch prebuilts (and other files) from the network, iff
a mapping from the hash to a url has been registered through `nix regurl'. * Bug fix in nix: don't pollute stdout when running tar, it made nix-switch barf. * Bug fix in nix-push-prebuilts: don't create a subdirectory on the target when rsync'ing.
Diffstat (limited to 'scripts/nix-switch')
-rwxr-xr-x | scripts/nix-switch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-switch b/scripts/nix-switch index 570f7e9e9227..d58a5f249e18 100755 --- a/scripts/nix-switch +++ b/scripts/nix-switch @@ -30,7 +30,7 @@ while (-e "$linkdir/$id-$nr") { $nr++; } my $link = "$linkdir/$id-$nr"; # Create a symlink from $link to $pkgdir. -symlink($pkgdir, $link) or die "cannot create $link"; +symlink($pkgdir, $link) or die "cannot create $link: $!"; # Also store the hash of $pkgdir. This is useful for garbage # collection and the like. |