From 3cb4d0338d444c77a10c4ae15849ffc0f2867d1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Tue, 14 Feb 2023 02:15:50 +0100 Subject: [PATCH] lattice-diamond: Expose pnmainc and ddtcmd commands These commands are used by Amaranth. --- pkgs/development/embedded/fpga/lattice-diamond/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/embedded/fpga/lattice-diamond/default.nix b/pkgs/development/embedded/fpga/lattice-diamond/default.nix index e8bc4c1b1be5..d27cf9bff374 100644 --- a/pkgs/development/embedded/fpga/lattice-diamond/default.nix +++ b/pkgs/development/embedded/fpga/lattice-diamond/default.nix @@ -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 '';