forked from M-Labs/it-infra
nixbld: add :raw for opening .nar.xz in hydra-binary-cache-store.patch
This commit is contained in:
parent
2a92a84e8a
commit
a16ab7d2de
@ -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);
|
||||
+ }
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user