nixbld: add :raw for opening .nar.xz in hydra-binary-cache-store.patch

This commit is contained in:
Astro 2020-11-26 17:53:32 +01:00 committed by Astro
parent 2a92a84e8a
commit a16ab7d2de
1 changed files with 1 additions and 1 deletions

View File

@ -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);
+ }
+