Files
absinthe/flake.nix
T

38 lines
694 B
Nix
Raw Normal View History

2026-01-20 23:55:27 +07:00
{
description = "Absinthe wayland compositor";
inputs = {
2026-01-21 10:40:06 +07:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
2026-01-20 23:55:27 +07:00
};
2026-01-21 10:40:06 +07:00
outputs = { self, nixpkgs, ... }:
2026-01-20 23:55:27 +07:00
let
2026-01-21 10:40:06 +07:00
system = "x86_64-linux";
2026-01-20 23:55:27 +07:00
in
{
2026-01-21 10:40:06 +07:00
devShells."${system}".default =
let
pkgs = import nixpkgs { inherit system; };
in
pkgs.mkShell {
2026-01-20 23:55:27 +07:00
packages = with pkgs; [
pkg-config
gnumake
gcc
wayland
wayland-protocols
wayland-scanner
wlroots_0_19
pixman
libxkbcommon
2026-01-21 10:40:06 +07:00
zsh
2026-01-20 23:55:27 +07:00
];
2026-01-21 10:40:06 +07:00
shellHook = ''
echo "Absinthe dev shell"
exec zsh
'';
2026-01-20 23:55:27 +07:00
};
};
}