mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
Cleanup flake
This commit is contained in:
parent
77d4ce1ab3
commit
cfb52c551e
51
flake.nix
51
flake.nix
@ -127,19 +127,9 @@
|
|||||||
buildScript
|
buildScript
|
||||||
pythonEnv
|
pythonEnv
|
||||||
|
|
||||||
# C/C++ language server
|
|
||||||
pkgs.clang-tools
|
pkgs.clang-tools
|
||||||
|
|
||||||
# Python language server
|
|
||||||
pkgs.python3Packages.python-lsp-server
|
pkgs.python3Packages.python-lsp-server
|
||||||
|
|
||||||
# Nix language server
|
|
||||||
pkgs.nixd
|
pkgs.nixd
|
||||||
|
|
||||||
# Git for submodules
|
|
||||||
pkgs.git
|
|
||||||
|
|
||||||
# Useful utilities
|
|
||||||
pkgs.esptool
|
pkgs.esptool
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -161,30 +151,31 @@
|
|||||||
echo " nixd - Nix LSP"
|
echo " nixd - Nix LSP"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
apps = {
|
||||||
|
build = {
|
||||||
|
type = "app";
|
||||||
|
program = "${buildScript}/bin/build-firmware";
|
||||||
|
};
|
||||||
|
|
||||||
apps.build = {
|
fontconvert = {
|
||||||
type = "app";
|
type = "app";
|
||||||
program = "${buildScript}/bin/build-firmware";
|
program = "${fontconvertScript}/bin/fontconvert";
|
||||||
};
|
};
|
||||||
|
|
||||||
apps.fontconvert = {
|
convert-builtin-fonts = {
|
||||||
type = "app";
|
type = "app";
|
||||||
program = "${fontconvertScript}/bin/fontconvert";
|
program = "${convertBuiltinFontsScript}/bin/convert-builtin-fonts";
|
||||||
};
|
};
|
||||||
|
|
||||||
apps.convert-builtin-fonts = {
|
build-font-ids = {
|
||||||
type = "app";
|
type = "app";
|
||||||
program = "${convertBuiltinFontsScript}/bin/convert-builtin-fonts";
|
program = "${buildFontIdsScript}/bin/build-font-ids";
|
||||||
};
|
};
|
||||||
|
|
||||||
apps.build-font-ids = {
|
regenerate-fonts = {
|
||||||
type = "app";
|
type = "app";
|
||||||
program = "${buildFontIdsScript}/bin/build-font-ids";
|
program = "${regenerateFontsScript}/bin/regenerate-fonts";
|
||||||
};
|
};
|
||||||
|
|
||||||
apps.regenerate-fonts = {
|
|
||||||
type = "app";
|
|
||||||
program = "${regenerateFontsScript}/bin/regenerate-fonts";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user