44 lines
772 B
Nix
44 lines
772 B
Nix
|
{
|
||
|
description = "evoke";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
||
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||
|
};
|
||
|
|
||
|
outputs = inputs@{ self, ... }:
|
||
|
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||
|
imports = [
|
||
|
inputs.flake-parts.flakeModules.easyOverlay
|
||
|
];
|
||
|
|
||
|
systems = [ "x86_64-linux" ];
|
||
|
|
||
|
perSystem = {
|
||
|
system,
|
||
|
pkgs,
|
||
|
config,
|
||
|
...
|
||
|
}:
|
||
|
{
|
||
|
devShells.default = pkgs.mkShell rec {
|
||
|
buildInputs = [
|
||
|
pkgs.libxkbcommon
|
||
|
pkgs.vulkan-loader
|
||
|
pkgs.wayland
|
||
|
];
|
||
|
|
||
|
packages = [
|
||
|
pkgs.cargo
|
||
|
pkgs.clippy
|
||
|
pkgs.gcc
|
||
|
];
|
||
|
|
||
|
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}";
|
||
|
|
||
|
RUST_BACKTRACE = "true";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|