1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00

package: Add mainProgram

This commit is contained in:
Zhaofeng Li 2024-10-14 10:23:29 -06:00
parent b322faab01
commit b3a76bc237
2 changed files with 6 additions and 0 deletions

View file

@ -108,6 +108,7 @@ let
license = licenses.asl20;
maintainers = with maintainers; [ zhaofengli ];
platforms = platforms.linux ++ platforms.darwin;
mainProgram = "attic";
};
passthru = {
@ -147,6 +148,10 @@ let
CARGO_PROFILE_RELEASE_LTO = "fat";
CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1";
meta = {
mainProgram = "atticd";
};
} // extraArgs);
# Attic interacts with Nix directly and its tests require trusted-user access

View file

@ -70,5 +70,6 @@ in rustPlatform.buildRustPackage rec {
license = licenses.asl20;
maintainers = with maintainers; [ zhaofengli ];
platforms = platforms.linux ++ platforms.darwin;
mainProgram = "attic";
};
}