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:
parent
b322faab01
commit
b3a76bc237
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -70,5 +70,6 @@ in rustPlatform.buildRustPackage rec {
|
|||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ zhaofengli ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
mainProgram = "attic";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue