lattice-diamond: Expose pnmainc and ddtcmd commands

These commands are used by Amaranth.
This commit is contained in:
Jonathan Neuschäfer 2023-02-14 02:15:50 +01:00 committed by Bjørn Forsman
parent 1fa842f7fc
commit 3cb4d0338d

View File

@ -87,11 +87,10 @@ stdenv.mkDerivation {
# Remove 32-bit libz.
rm $out/$prefix/bin/lin64/libz.{so,so.1}
# Make wrappers (should these target more than the 'diamond' tool?).
# The purpose of these is just to call the target program using its
# absolute path - otherwise, it will crash.
# Make wrappers. The purpose of these is just to call the target program
# using its absolute path - otherwise, it will crash.
mkdir -p bin
for tool in diamond ; do
for tool in diamond pnmainc ddtcmd ; do
makeWrapper $out/$prefix/bin/lin64/$tool $out/bin/$tool
done
'';