fred/devenv.nix
Olivier 'reivilibre 93f5fc81e8
Some checks failed
Update All Top Ranking Issues / update_top_ranking_issues (push) Has been cancelled
Update Weekly Top Ranking Issues / update_top_ranking_issues (push) Has been cancelled
Bump collab-staging Tag / update-collab-staging-tag (push) Has been cancelled
Run Agent Eval / Run Agent Eval (push) Has been cancelled
Run Unit Evals / Run unit evals (push) Has been cancelled
Release Nightly / Run tests (push) Has been cancelled
Release Nightly / Update nightly tag (push) Has been cancelled
Release Nightly / Build and cache Nix package (push) Has been cancelled
Release Nightly / Create a Windows installer (push) Has been cancelled
Release Nightly / Check formatting and Clippy lints (push) Has been cancelled
Release Nightly / Run tests on Windows (push) Has been cancelled
Release Nightly / Create a macOS bundle (push) Has been cancelled
Release Nightly / Create a Linux *.tar.gz bundle for x86 (push) Has been cancelled
Release Nightly / Create a Linux *.tar.gz bundle for ARM (push) Has been cancelled
Release Nightly / Build Zed on FreeBSD (push) Has been cancelled
Close Stale Issues / stale (push) Has been cancelled
Issue Response / issue-response (push) Has been cancelled
devenv stuff
Add build and run dependencies to devenv
2025-08-29 15:03:54 +01:00

40 lines
562 B
Nix

{ pkgs, lib, config, inputs, ... }:
{
cachix.enable = false;
languages.rust = {
enable = true;
};
packages = with pkgs; [
clang
cmake
protobuf
# compilation dependencies (speculated)
xorg.libXcursor
xorg.libXrandr
xorg.libXi
xorg.libX11
xorg.libxcb
libxkbcommon
alsa-lib
# for runtime?
vulkan-loader
mold
];
env = {
PROTOC = "${pkgs.protobuf}/bin/protoc";
LD_LIBRARY_PATH="${pkgs.vulkan-loader}/lib";
};
# See full reference at https://devenv.sh/reference/options/
}