Merge pull request #235019 from blackheaven/eventstore/mainProgram
eventstore: add meta.mainProgram
This commit is contained in:
commit
fb8cc2484e
1 changed files with 5 additions and 1 deletions
|
@ -8,6 +8,9 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, mono
|
, mono
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
mainProgram = "EventStore.ClusterNode";
|
||||||
|
in
|
||||||
|
|
||||||
buildDotnetModule rec {
|
buildDotnetModule rec {
|
||||||
pname = "EventStore";
|
pname = "EventStore";
|
||||||
|
@ -31,7 +34,7 @@ buildDotnetModule rec {
|
||||||
|
|
||||||
runtimeDeps = [ mono ];
|
runtimeDeps = [ mono ];
|
||||||
|
|
||||||
executables = [ "EventStore.ClusterNode" ];
|
executables = [ mainProgram ];
|
||||||
|
|
||||||
# This test has a problem running on macOS
|
# This test has a problem running on macOS
|
||||||
disabledTests = lib.optionals stdenv.isDarwin [
|
disabledTests = lib.optionals stdenv.isDarwin [
|
||||||
|
@ -76,5 +79,6 @@ buildDotnetModule rec {
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ puffnfresh mdarocha ];
|
maintainers = with maintainers; [ puffnfresh mdarocha ];
|
||||||
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||||
|
inherit mainProgram;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue