fix: Remove |> operator to fix ci
Some checks are pending
Test Cachix / tests (Akun) (push) Waiting to run
Test Cachix / tests (Cape) (push) Waiting to run
Test Cachix / tests (Tytonidae) (push) Waiting to run

This commit is contained in:
ulic-youthlic 2025-11-07 23:54:49 +08:00
parent 3b570cc47a
commit 87a817738a
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
13 changed files with 148 additions and 107 deletions

View file

@ -60,7 +60,7 @@ let
runHook postFixup
'';
};
grammars = srcs |> lib.filterAttrs (key: _: lib.hasPrefix "tree-sitter-" key);
grammars = with lib; pipe srcs [ (filterAttrs (key: _: hasPrefix "tree-sitter-" key)) ];
queries =
grammars

View file

@ -7,9 +7,10 @@
let
wallpapers =
with lib;
srcs
|> filterAttrs (name: _value: hasPrefix "wallpaper" name)
|> concatMapAttrsStringSep "\n" (name: value: "ln -s ${value.src} $out/${name}");
pipe srcs [
(filterAttrs (name: _value: hasPrefix "wallpaper" name))
(concatMapAttrsStringSep "\n" (name: value: "ln -s ${value.src} $out/${name}"))
];
in
runCommandLocal "wallpapers" { } ''
mkdir -p $out