Files
ly/flake.nix
Matheus Campos 4e0f23f084 Use zig 0.17 in the Nix devShell and update the readme (#1067)
## What are the changes about?

Update the nixpkgs input in flake.lock, since zig_0_17 is not available in the previous revision, use it in the devShell, bump the zig version in the readme to 0.17.x, and replace the nix build instructions (the flake has no packages output) with nix develop.

## 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/1067
Reviewed-by: AnErrupTion <anerruption+codeberg@disroot.org>
2026-10-04 18:27:23 +02:00

33 lines
670 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_0_17
pam
libxcb
];
};
}
);
};
}