Skip to content

Commit

Permalink
update devenv - add moar headers!
Browse files Browse the repository at this point in the history
  • Loading branch information
l1npengtul authored Oct 12, 2024
1 parent 24788c8 commit cc04c54
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions devenv.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{ pkgs, lib, config, inputs, ... }:
{ pkgs, lib, config, inputs, stdenv, ... }:

{
# https://devenv.sh/basics/
env.GREET = "devenv";
env.LIBCLANG_PATH = "${config.env.DEVENV_PROFILE}/lib/libclang.so";
env.CPATH = "${config.env.DEVENV_PROFILE}/include";
# https://devenv.sh/packages/
packages = [ pkgs.git pkgs.v4l-utils pkgs.clangStdenv pkgs.mesa
packages = [ pkgs.git (pkgs.v4l-utils.override { withUtils = true; }) 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
pkgs.fontconfig pkgs.clang-tools pkgs.linuxHeaders pkgs.gccStdenv pkgs.libcxxStdenv
pkgs.glibc_multi
];

# https://devenv.sh/languages/
Expand All @@ -28,6 +30,7 @@
hello
git --version
echo ''${LIBCLANG_PATH}
echo ''${CPATH}
'';

# https://devenv.sh/tests/
Expand Down

0 comments on commit cc04c54

Please sign in to comment.