mirror of
https://github.com/NixOS/nix
synced 2025-06-30 03:23:16 +02:00
* Clean up calls to system().
This commit is contained in:
parent
76c9710091
commit
68ae953d8a
8 changed files with 26 additions and 26 deletions
|
@ -29,7 +29,7 @@ if ($removeOld) {
|
|||
$name = $profilesDir . "/" . $name;
|
||||
if (-l $name && (readlink($name) =~ /link/)) {
|
||||
print STDERR "removing old generations of profile $name\n";
|
||||
system "@bindir@/nix-env", "-p", $name, "--delete-generations", "old";
|
||||
system("@bindir@/nix-env", "-p", $name, "--delete-generations", "old");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue