571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
13 lines
361 B
Diff
13 lines
361 B
Diff
Fixes an error in nrgtool.
|
|
--- a/nrgtool
|
|
+++ b/nrgtool
|
|
@@ -162,7 +162,7 @@ sub process_file {
|
|
}
|
|
seek $nrg, 0, SEEK_SET if ($iff_only);
|
|
seek $nrg, $offset, SEEK_SET unless ($iff_only);
|
|
- while (my $_ = read_chunk($nrg, $iff)) {
|
|
+ while ($_ = read_chunk($nrg, $iff)) {
|
|
if ($_ < -1) {
|
|
warn "ERROR while reading an IFF chunk; aborting\n";
|
|
return;
|