diff options
| author | spl3g <spleefer6@yandex.ru> | 2025-10-31 19:25:30 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-10-31 19:28:29 +0300 |
| commit | 35265935522ac3730e26f8682704315516f7cbe5 (patch) | |
| tree | a005d707c6347fd2d21827484e44cb7dbf379a76 /flake.nix | |
| parent | 99fb0374e9352ebb61e7eea134784bd26f61a892 (diff) | |
Add ui knobs
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 34 |
1 files changed, 23 insertions, 11 deletions
@@ -19,22 +19,34 @@ in { devShells = forEachSupportedSystem ( {pkgs}: { - default = pkgs.mkShell { - packages = with pkgs; [ - clang - stdenv.cc - lldb - - man-pages - man-pages-posix - + default = let + libs = with pkgs; [ alsa-lib - sdl3 + sdl3.dev sdl3-ttf sdl3-image ]; - }; + in + pkgs.mkShell { + packages = with pkgs; + [ + clang + stdenv.cc + lldb + gdb + + man-pages + man-pages-posix + ] + ++ libs; + shellHook = '' + rm -r .lib-links + mkdir .lib-links + + ${builtins.concatStringsSep "\n " (map (lib: "ln -s ${lib} .lib-links/") libs)} + ''; + }; } ); |
