mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 10:48:34 +02:00
add alias to shell.nix to make a dummy x11 session
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [ libGL xorg.libX11 libGLU glfw ffmpeg];
|
||||
shellHook="make -j";
|
||||
nativeBuildInputs = with pkgs; [ libGL xorg.libX11 libGLU glfw ffmpeg xorg.xvfb];
|
||||
shellHook=''
|
||||
alias xdum="Xvfb :99 -screen 0 1920x1080x24 +extension GLX +render -noreset & export DISPLAY=:99";
|
||||
alias xdumstop='pkill Xvfb'
|
||||
make -j;
|
||||
'';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user