fmd-server: fix darwin (#520793)

This commit is contained in:
Weijia Wang
2026-05-16 11:01:51 +00:00
committed by GitHub
+4 -4
View File
@@ -35,6 +35,10 @@ buildGoModule (
vendorHash = "sha256-cFIg9mOSQbrYHW4kg4aTeTaF+gy1jNpAlg8qepb81Jc=";
preBuild = ''
cp -r ${ui}/${ui.distRoot} web/
'';
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "version";
@@ -74,10 +78,6 @@ buildGoModule (
'';
};
postUnpack = ''
cp -r ${ui}/${ui.distRoot} /build/source/web/
'';
meta = {
description = "Server to communicate with the FindMyDevice app and save the latest (encrypted) location";
homepage = "https://fmd-foss.org/";