From a16ab7d2de9a9982bcd932395604161ad6cb06f2 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 26 Nov 2020 17:53:32 +0100 Subject: [PATCH] nixbld: add :raw for opening .nar.xz in hydra-binary-cache-store.patch --- nixbld-etc-nixos/hydra-binary-cache-store.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixbld-etc-nixos/hydra-binary-cache-store.patch b/nixbld-etc-nixos/hydra-binary-cache-store.patch index 05217f3..1570e5b 100644 --- a/nixbld-etc-nixos/hydra-binary-cache-store.patch +++ b/nixbld-etc-nixos/hydra-binary-cache-store.patch @@ -44,7 +44,7 @@ index 71869ba0..4276f95a 100644 + + $path = "/" . $1 . "/nar/$path"; + my $fh = new IO::Handle; -+ open $fh, "<", $path; ++ open $fh, "<:raw", $path; + $c->response->body($fh); + } +