mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
[Backport release-24.11] baidupcs-go: remove readonly config file generated during version check phase (#356348)
This commit is contained in:
commit
c087b75317
@ -27,6 +27,14 @@ buildGo122Module rec {
|
||||
doInstallCheck = true;
|
||||
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
|
||||
|
||||
postInstall = ''
|
||||
rm -f $out/bin/AndroidNDKBuild
|
||||
'';
|
||||
|
||||
postVersionCheck = ''
|
||||
rm -f $out/bin/pcs_config.json
|
||||
'';
|
||||
|
||||
meta = {
|
||||
mainProgram = "BaiduPCS-Go";
|
||||
maintainers = with lib.maintainers; [ xddxdd ];
|
||||
|
Loading…
Reference in New Issue
Block a user