this repo has no description

workflows: fix missing system libraries

altagos.dev abfbae64 3d6965dc

verified
+18 -7
+11 -5
.tangled/workflows/build.yml
··· 1 1 when: 2 - - event: ["push", "pull_request"] 3 - branch: ["main"] 2 + - event: ["push", "pull_request"] 3 + branch: ["main", "workflows"] 4 4 5 5 engine: nixery 6 6 7 7 dependencies: 8 8 nixpkgs: 9 - - mise 9 + - libglvnd 10 + - alsa-lib 11 + - mise 10 12 11 13 steps: 14 + - name: Setup nix channel 15 + command: | 16 + nix-channel --add https://nixos.org/channels/nixpkgs-unstable 17 + nix-channel --update 12 18 - name: Setup Zig 13 19 command: | 14 20 mise trust 15 21 mise exec zig -- zig version 16 22 - name: Run Tests 17 23 command: | 18 - mise exec zig -- zig build test --summary all 24 + nix-shell --run "mise exec zig -- zig build test --summary all" 19 25 - name: Build ReleaseSafe 20 26 command: | 21 - mise exec zig -- zig build -Doptimize=ReleaseSafe -Ddocking 27 + nix-shell --run "mise exec zig -- zig build -Doptimize=ReleaseSafe -Ddocking"
+2 -2
.tangled/workflows/web.yml
··· 1 1 when: 2 - - event: ["push", "pull_request"] 3 - branch: ["main"] 2 + - event: ["push", "pull_request"] 3 + branch: ["main"] 4 4 5 5 engine: nixery 6 6
+5
shell.nix
··· 1 + { pkgs ? import <nixpkgs> {} }: 2 + pkgs.mkShell { 3 + # nativeBuildInputs is usually what you want -- tools you need to run 4 + nativeBuildInputs = with pkgs.buildPackages; [ xorg.libX11 xorg.libXcursor xorg.libXi ]; 5 + }