Created
September 21, 2023 12:51
-
-
Save caryoscelus/887d918dc9932fed5f4d37862db6cfc7 to your computer and use it in GitHub Desktop.
run games in nixos shell.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
(pkgs.buildFHSEnv { | |
name = "launch-env"; | |
targetPkgs = pkgs: (with pkgs; [ | |
udev | |
alsa-lib | |
fontconfig | |
libxkbcommon | |
libGL | |
]) ++ (with pkgs.xorg; [ | |
libX11 | |
libXcursor | |
libXrandr | |
libXext | |
libXinerama | |
libXi | |
]); | |
multiPkgs = pkgs: (with pkgs; [ | |
udev | |
alsa-lib | |
]); | |
runScript = "bash"; | |
}).env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment