mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
* Create a symlink to /nix/var/nix/manifests in /nix/var/nix/gcroots
if it doesn't exist.
This commit is contained in:
parent
d329c3ea9d
commit
0243eea4b9
1 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,14 @@ if (! -e $manifestDir) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Make sure that the manifests directory is scanned for GC roots.
|
||||||
|
my $gcRootsDir = "$stateDir/gcroots";
|
||||||
|
my $manifestDirLink = "$gcRootsDir/manifests";
|
||||||
|
if (! -l $manifestDirLink) {
|
||||||
|
symlink($manifestDir, $manifestDirLink) or die "cannot create symlink `$manifestDirLink'";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Process the URLs specified on the command line.
|
# Process the URLs specified on the command line.
|
||||||
my %narFiles;
|
my %narFiles;
|
||||||
my %patches;
|
my %patches;
|
||||||
|
|
Loading…
Reference in a new issue