summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-11-17 23:11:29 +0100
committermakefu <github@syntax-fehler.de>2015-11-17 23:11:29 +0100
commit0f54a195b7d1a3b02bd70c31c2d05c2a1dc186bd (patch)
tree28a6ec0d4c0ec5a093b91d962412285a9b7b3128 /krebs
parenta3e074094b8c260825b0ae4caeb2170e562019a5 (diff)
acng: also add nar files to cache
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/apt-cacher-ng.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/apt-cacher-ng.nix b/krebs/3modules/apt-cacher-ng.nix
index 6f0ff8159..75296bafb 100644
--- a/krebs/3modules/apt-cacher-ng.nix
+++ b/krebs/3modules/apt-cacher-ng.nix
@@ -35,7 +35,7 @@ let
# Nix cache
${optionalString cfg.enableNixCache ''
Remap-nix: http://cache.nixos.org /nixos ; https://cache.nixos.org
- PfilePatternEx: (^|.*?/).*\.narinfo(|\.gz|\.xz|\.bz2)$
+ PfilePatternEx: (^|.*?/).*\.nar(info)?(|\.gz|\.xz|\.bz2)$
VfilePatternEx: (^|.*?/)nix-cache-info$
''}