Skip to content

Commit

Permalink
pkgs/psu-simulator: keep meta.mainProgram
Browse files Browse the repository at this point in the history
This fixes a warning in the StreamDevice check:

> Package psu_simulator does not have the meta.mainProgram attribute
  • Loading branch information
minijackson committed Apr 5, 2024
1 parent 0eba5e1 commit f6b9a09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 6 additions & 3 deletions pkgs/doc-support/psu-simulator/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
epnix,
epnixLib,
}:
# Use recursiveUpdate so that it doesn't override meta.mainProgram
lib.recursiveUpdate
(epnix.mkLewisSimulator {
name = "psu_simulator";
package = "psu_simulator";
name = "psu-simulator";
source = ./.;
package = "psu_simulator";
device = "psu_simulator";
})
// {
{
pname = "psu_simulator";
version = "0.2.0";

Expand Down
1 change: 0 additions & 1 deletion pkgs/epnix/tools/lewis/lib.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
lib,
epnix,
writeShellApplication,
}: {
Expand Down

0 comments on commit f6b9a09

Please sign in to comment.