Commit 6b6dd450 authored by Hraban Luyat's avatar Hraban Luyat
Browse files

bat-extras: also set meta.mainProgram

parent d08f8d0c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -133,7 +133,9 @@ let
      # We already patched
      dontPatchShebangs = true;

      inherit (core) meta;
      meta = core.meta // {
        mainProgram = name;
      };
    };
  optionalDep = cond: dep:
    assert cond -> dep != null;