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 ? import <nixpkgs> {} }:
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [ libGL xorg.libX11 libGLU glfw ffmpeg];
|
nativeBuildInputs = with pkgs; [ libGL xorg.libX11 libGLU glfw ffmpeg xorg.xvfb];
|
||||||
shellHook="make -j";
|
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