Files
ly/flake.nix
T
Matheus Campos 83903cf378 feat: add flake for development environment (#1066)
## What are the changes about?

This PR adds a flake.nix and flake.lock to provide a reproducible development environment for ly using Nix.

The development shell provides the dependencies required to build ly:

- zig
- pam
- xcb

## What existing issue(s) does this resolve?

N/A

## Pre-requisites

- [x] I have tested & confirmed the changes work locally
- [x] I have read and fully adhere to the rules set in the contributing guidelines found in `CONTRIBUTING.md`

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/1066
Reviewed-by: AnErrupTion <anerruption+codeberg@disroot.org>
2026-10-03 19:18:42 +02:00

33 lines
665 B
Nix

{
description = "Ly - A lightweight TUI (ncurses-like) display manager for Linux and BSD";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }:
let
systems = [
"x86_64-linux"
"aarch64-linux"
"i686-linux"
];
forAllSystems = nixpkgs.lib.genAttrs systems;
in
{
devShells = forAllSystems (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
default = pkgs.mkShell {
packages = with pkgs; [
zig
pam
libxcb
];
};
}
);
};
}