testing stuff

This commit is contained in:
Rakarake 2026-03-07 19:21:18 +01:00
parent d1b04c13d1
commit e0c772db92
6 changed files with 199 additions and 8 deletions

View file

@ -5,9 +5,10 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # or whatever vers
flake-utils.url = "github:numtide/flake-utils";
rust-overlay.url = "github:oxalica/rust-overlay";
zig-overlay.url = "github:mitchellh/zig-overlay";
};
outputs = { self, nixpkgs, flake-utils, rust-overlay, ... }:
outputs = { self, nixpkgs, flake-utils, rust-overlay, zig-overlay, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
overlays = [ (import rust-overlay) ];
@ -19,8 +20,11 @@
devShell = pkgs.mkShell rec {
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}";
packages = with pkgs; [
(rust-bin.selectLatestNightlyWith (toolchain: toolchain.default))
rustc
cargo
rust-analyzer
gcc
zig-overlay.packages."x86_64-linux".master
];
buildInputs = with pkgs; [
libdisplay-info