initial commit
Signed-off-by: faukah <fau@faukah.com> Change-Id: I6a6a69645add91c6178de9a2b56e175e3828bfca
This commit is contained in:
commit
f77d372b77
8 changed files with 394 additions and 0 deletions
34
flake.nix
Normal file
34
flake.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue