miniserve: fix uploads

The last release broke uploading files in miniserve.
Backport upstream patch to fix uploads.
This commit is contained in:
Flakebi
2025-08-30 12:54:47 +02:00
parent dfb2f12e89
commit 844b154b6e
+9
View File
@@ -10,6 +10,7 @@
curl,
versionCheckHook,
nix-update-script,
fetchpatch,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -23,6 +24,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
hash = "sha256-sSCS5jHhu0PBF/R3YqbR9krZghNNa2cPkLkK8kvWWd4=";
};
patches = [
(fetchpatch {
name = "upload.patch";
url = "https://github.com/svenstaro/miniserve/commit/d41ade0d79e2c175515701350f763dd461c55964.patch";
hash = "sha256-2xQPcJFjlvrCeobuDXm+eVZzDsKoQoZL7OXEJxncX5k=";
})
];
cargoHash = "sha256-Gb1k4sd2/OV1GskFZBn7EapZTlhb9LK19lJHVP7uCK0=";
nativeBuildInputs = [