Reformat nix source file using nixfmt
This commit is contained in:
parent
2e4a532958
commit
9201969c1b
220 changed files with 3169 additions and 2487 deletions
|
|
@ -3,13 +3,18 @@
|
|||
runCommandNoCCLocal,
|
||||
rootPath,
|
||||
lib,
|
||||
}: let
|
||||
wallpapers = with lib; srcs |> filterAttrs (name: _value: hasPrefix "wallpaper" name) |> concatMapAttrsStringSep "\n" (name: value: "ln -s ${value.src} $out/${name}");
|
||||
}:
|
||||
let
|
||||
wallpapers =
|
||||
with lib;
|
||||
srcs
|
||||
|> filterAttrs (name: _value: hasPrefix "wallpaper" name)
|
||||
|> concatMapAttrsStringSep "\n" (name: value: "ln -s ${value.src} $out/${name}");
|
||||
in
|
||||
runCommandNoCCLocal "wallpapers" {} ''
|
||||
mkdir -p $out
|
||||
runCommandNoCCLocal "wallpapers" { } ''
|
||||
mkdir -p $out
|
||||
|
||||
${wallpapers}
|
||||
${wallpapers}
|
||||
|
||||
ln -s ${rootPath + "/assets/wallpaper/01.png"} $out/01.png
|
||||
''
|
||||
ln -s ${rootPath + "/assets/wallpaper/01.png"} $out/01.png
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue