initial commit

This commit is contained in:
Bloxx12 2025-05-18 00:26:20 +02:00
commit 00e9e6f967
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
8 changed files with 363 additions and 0 deletions

34
flake.nix Normal file
View file

@ -0,0 +1,34 @@
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = {
self,
nixpkgs,
} @ inputs: let
inherit (inputs.nixpkgs) lib;
eachSystem = lib.genAttrs (import inputs.systems);
pkgsFor = inputs.nixpkgs.legacyPackages;
in {
devShells =
lib.mapAttrs (system: pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [
pkg-config
wayland-scanner
zig
wayland
wayland-protocols
];
shellHook = ''
export LD_LIBRARY_PATH=${pkgs.wayland}/lib:$LD_LIBRARY_PATH
'';
};
})
pkgsFor;
};
}