Skip to content

Commit

Permalink
new controls
Browse files Browse the repository at this point in the history
  • Loading branch information
l1npengtul committed Oct 2, 2024
1 parent d5eab8b commit 4adf68c
Show file tree
Hide file tree
Showing 26 changed files with 2,004 additions and 1,105 deletions.
180 changes: 140 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 12 additions & 5 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@
{
# https://devenv.sh/basics/
env.GREET = "devenv";

env.LIBCLANG_PATH = "${config.env.DEVENV_PROFILE}/lib/libclang.so";
# https://devenv.sh/packages/
packages = [ pkgs.git pkgs.v4l-utils pkgs.clangStdenv pkgs.mesa pkgs.rustup pkgs.rustfmt pkgs.cargo ];
packages = [ pkgs.git pkgs.v4l-utils pkgs.clangStdenv pkgs.mesa
pkgs.cmake pkgs.opencv4 pkgs.systemdLibs pkgs.libudev-zero
pkgs.libudev0-shim pkgs.vcpkg pkgs.pkg-config pkgs.libclang
pkgs.fontconfig pkgs.clang-tools pkgs.linuxHeaders
];

# https://devenv.sh/languages/
# languages.rust.enable = true;

languages.rust.enable = true;
languages.c.enable = true;
# https://devenv.sh/processes/
# processes.cargo-watch.exec = "cargo-watch";
processes.cargo-watch.exec = "cargo-watch";

# https://devenv.sh/services/
# services.postgres.enable = true;
Expand All @@ -24,6 +28,7 @@
enterShell = ''
hello
git --version
echo ''${LIBCLANG_PATH}
'';

# https://devenv.sh/tests/
Expand All @@ -32,6 +37,8 @@
git --version | grep --color=auto "${pkgs.git.version}"
'';



# https://devenv.sh/pre-commit-hooks/
# pre-commit.hooks.shellcheck.enable = true;

Expand Down
Loading

0 comments on commit 4adf68c

Please sign in to comment.