buildRustCrate: set meta.mainProgram to crateName

This commit is contained in:
ilkecan 2022-05-05 14:25:27 +00:00
parent 73268cc1b4
commit d6bd313f07

View file

@ -346,6 +346,9 @@ crate_: lib.makeOverridable
outputs = if buildTests then [ "out" ] else [ "out" "lib" ];
outputDev = if buildTests then [ "out" ] else [ "lib" ];
meta = {
mainProgram = crateName;
};
} // extraDerivationAttrs
)
)