mirror of
https://github.com/fairyglade/ly.git
synced 2026-11-05 09:41:43 +00:00
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>
This commit is contained in:
1 parent
501964d012
commit
4e0f23f084
3 files changed
+16
-15
No files matched your search
Generated
+3
-3
@@ -2,11 +2,11 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1790822859,
|
"lastModified": 1791048980,
|
||||||
"narHash": "sha256-69xHQhAeMAD2wDXO7T2pcOZIF9Sga2W+JkmY2a11Ops=",
|
"narHash": "sha256-KgItSKML8Xvte0B7/uGnBDsYzSnnKHcOaiUbgWBXLXw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c59305bab2065cfecc4944690d9eedbb56f3a9fa",
|
"rev": "a7868a727837f3c09cee2ce0ca671c76b1589fed",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
{
|
{
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
zig
|
zig_0_17
|
||||||
pam
|
pam
|
||||||
libxcb
|
libxcb
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ Join us on Matrix over at
|
|||||||
|
|
||||||
### Compile-time
|
### 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)
|
version` does not have a `-dev*` suffix)
|
||||||
|
|
||||||
- libc
|
- 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
|
# 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]
|
> [!WARNING]
|
||||||
>
|
>
|
||||||
> Distributions using SELinux such as Fedora and openSUSE Tumbleweed may
|
> 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
|
# 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
|
## Availability
|
||||||
|
|
||||||
[](https://repology.org/project/ly-display-manager/versions)
|
[](https://repology.org/project/ly-display-manager/versions)
|
||||||
|
|||||||
Reference in new issue
Block a user