about summary refs log tree commit diff
path: root/pkgs/development/embedded
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2023-02-14 02:15:50 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2023-02-19 15:52:13 +0100
commit3cb4d0338d444c77a10c4ae15849ffc0f2867d1c (patch)
treed070888e2787c51cecae90991f9e9b43f2ac5383 /pkgs/development/embedded
parent1fa842f7fc205597b3699d6ac84ab3f88be9b3c1 (diff)
lattice-diamond: Expose pnmainc and ddtcmd commands
These commands are used by Amaranth.
Diffstat (limited to 'pkgs/development/embedded')
-rw-r--r--pkgs/development/embedded/fpga/lattice-diamond/default.nix7
1 files 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 e8bc4c1b1be53..d27cf9bff3745 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
   '';