Merge pull request #171668 from ilkecan/buildRustCrate-set-mainProgram

buildRustCrate: set meta.mainProgram to crateName
This commit is contained in:
Bernardo Meurer 2022-05-05 15:12:30 -07:00 committed by GitHub
commit 4f35872b16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
)
)