build(xatu): limit package source closure

This commit is contained in:
alexion committed 2026-09-19 16:38:10 -04:00
1 parent 44fab7a24d
commit 2066f54c22
1 file changed
+6 -2
+6 -2
View File
@@ -12,14 +12,18 @@ pkgs.rustPlatform.buildRustPackage {
fileset = lib.fileset.unions [
(root + "/Cargo.lock")
(root + "/Cargo.toml")
(root + "/src/ariadne")
(root + "/src/machoke")
(root + "/src/monorepo")
(root + "/src/status")
(root + "/src/xatu")
];
};
postPatch = ''
substituteInPlace Cargo.toml \
--replace-fail ' "src/ariadne",' "" \
--replace-fail ' "src/machoke",' ""
'';
cargoBuildFlags = [
"-p"
"xatu"