diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-10-18 01:42:43 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-10-18 01:42:43 -0400 |
| commit | 4b102c97a39d1c095669979ac3c3fc00e977684d (patch) | |
| tree | 6eea382ab51c9e3931835b8426a078b9490c30be /flake.nix | |
| parent | dungeon: refactor into entity module, and add struct (better match proposal) (diff) | |
| download | DungeonCrawl-4b102c97a39d1c095669979ac3c3fc00e977684d.tar.gz DungeonCrawl-4b102c97a39d1c095669979ac3c3fc00e977684d.tar.bz2 DungeonCrawl-4b102c97a39d1c095669979ac3c3fc00e977684d.zip | |
nix: add audio packages to flake
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -11,6 +11,7 @@ flake-utils, ... }: let + lib = nixpkgs.lib; supportedSystems = let inherit (flake-utils.lib) system; in [ @@ -22,12 +23,15 @@ pkgs = import nixpkgs {inherit system;}; libs = with pkgs; [ libGL + alsa-lib + pulseaudio wayland xorg.libXrandr xorg.libXinerama xorg.libXcursor xorg.libXi ]; + libPath = lib.makeLibraryPath libs; in { devShell = pkgs.mkShell @@ -45,7 +49,7 @@ glfw pkg-config ] ++ libs; - LD_LIBRARY_PATH = libs; + LD_LIBRARY_PATH = libPath; LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib"; }; |