From 836ec67a008ce16c57ea5071ef901154f7e93ea9 Mon Sep 17 00:00:00 2001 From: tdback Date: Fri, 27 Dec 2024 19:09:34 -0500 Subject: fix: remove pipe-operators experimental feature im going to hold off on using the pipe-operators until they are an official part of the nix language. in its current state portability gets hurt for any modules using the feature, since one has to manually opt-in. in the end, it's just a syntax change! --- modules/customs/cgit/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/customs') diff --git a/modules/customs/cgit/default.nix b/modules/customs/cgit/default.nix index a6fd79a..dc30d2a 100644 --- a/modules/customs/cgit/default.nix +++ b/modules/customs/cgit/default.nix @@ -22,12 +22,14 @@ let ); mkCgitAssets = pkg: files: - builtins.map (f: '' + strings.concatStringsSep "\n" ( + builtins.map (f: '' handle_path /${f} { root * ${pkg}/cgit/${f} file_server } - '') files |> strings.concatStringsSep "\n"; + '') files + ); in { disabledModules = [ "services/networking/cgit.nix" ]; -- cgit v1.2.3