mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
compressFirmwareXz: fail on broken symlinks
This would have caught the last two issues we had with compression.
This commit is contained in:
parent
a136def4f7
commit
24bb06069f
@ -21,4 +21,7 @@ runCommand "${firmware.name}-xz" args ''
|
||||
ln -vs -- "''${target/^${firmware}/$out}" "$out/$link"
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Checking for broken symlinks:"
|
||||
find -L $out -type l -print -execdir false -- '{}' '+'
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user