Add treefmt-nix for formatting all the files
This commit is contained in:
parent
1a9a4243fe
commit
ceecc82aae
11 changed files with 151 additions and 52 deletions
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
rootPath,
|
||||
...
|
||||
}: let
|
||||
srcs = pkgs.callPackage ./_sources/generated.nix {};
|
||||
callPackage = pkgs.lib.callPackageWith (pkgs // {inherit inputs srcs callPackage;});
|
||||
callPackage = pkgs.lib.callPackageWith (pkgs // {inherit inputs srcs callPackage rootPath;});
|
||||
in
|
||||
{
|
||||
pinentry-selector = callPackage ./pinentry-selector.nix {};
|
||||
|
|
@ -13,7 +14,7 @@ in
|
|||
rime-ice = callPackage ./rime-ice.nix {};
|
||||
dioxionary = callPackage ./dioxionary.nix {};
|
||||
spotifyx = callPackage ./spotifyx.nix {};
|
||||
radicle-explorer = callPackage ./radicle-explorer {};
|
||||
radicle-explorer = callPackage ./radicle-explorer.nix {};
|
||||
TrackersListCollection = callPackage ./TrackersListCollection.nix {};
|
||||
wshowkeys-mao = callPackage ./wshowkeys-mao.nix {};
|
||||
OuterWildsTextAdventure = callPackage ./OuterWildsTextAdventure.nix {};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
{pkgs}:
|
||||
{
|
||||
pkgs,
|
||||
rootPath,
|
||||
}:
|
||||
(pkgs.radicle-explorer.withConfig {
|
||||
preferredSeeds = [
|
||||
{
|
||||
|
|
@ -26,7 +29,7 @@
|
|||
postInstall =
|
||||
(prev.postInstall or "")
|
||||
+ ''
|
||||
ln -s ${./youthlic-seed-header.png} $out/images/youthlic-seed-header.png
|
||||
ln -s ${./youthlic-seed-avatar.jpg} $out/images/youthlic-seed-avatar.jpg
|
||||
ln -s ${rootPath + "/assets/radicle-explorer/youthlic-seed-header.png"} $out/images/youthlic-seed-header.png
|
||||
ln -s ${rootPath + "/assets/radicle-explorer/youthlic-seed-avatar.jpg"} $out/images/youthlic-seed-avatar.jpg
|
||||
'';
|
||||
})
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 212 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 MiB |
Loading…
Add table
Add a link
Reference in a new issue