diff --git a/flake.lock b/flake.lock index 04210c1..50dd689 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1790822859, - "narHash": "sha256-69xHQhAeMAD2wDXO7T2pcOZIF9Sga2W+JkmY2a11Ops=", + "lastModified": 1791048980, + "narHash": "sha256-KgItSKML8Xvte0B7/uGnBDsYzSnnKHcOaiUbgWBXLXw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c59305bab2065cfecc4944690d9eedbb56f3a9fa", + "rev": "a7868a727837f3c09cee2ce0ca671c76b1589fed", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index d18a90b..d774a0f 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,7 @@ { default = pkgs.mkShell { packages = with pkgs; [ - zig + zig_0_17 pam libxcb ]; diff --git a/readme.md b/readme.md index f47e247..ec99f5e 100644 --- a/readme.md +++ b/readme.md @@ -20,7 +20,7 @@ Join us on Matrix over at ### Compile-time -- zig 0.16.x (you must use a **release version** of zig; check that `zig +- zig 0.17.x (you must use a **release version** of zig; check that `zig version` does not have a `-dev*` suffix) - libc @@ -51,16 +51,6 @@ Join us on Matrix over at # dnf install kernel-devel pam-devel libxcb-devel zig xorg-x11-xauth xorg-x11-server brightnessctl ``` -#### Nix - -You can use the flake to automatically install all dependencies inside a -reproducible environment: - -```console -$ git clone https://codeberg.org/fairyglade/ly.git && cd ly -$ nix build -``` - > [!WARNING] > > Distributions using SELinux such as Fedora and openSUSE Tumbleweed may @@ -100,6 +90,17 @@ $ nix build # pkg install ca_root_nss libxcb git xorg xauth ``` +#### Nix + +Enter a development shell with all dependencies: + +```console +$ git clone https://codeberg.org/fairyglade/ly.git && cd ly +$ nix develop +``` + +Then follow [Manually building](#manually-building) from the `zig build` step. + ## Availability [![Packaging status](https://repology.org/badge/vertical-allrepos/ly-display-manager.svg?exclude_unsupported=1)](https://repology.org/project/ly-display-manager/versions)