event-sim/nixos/configs/flightgear-shell.nix
fly 02e1fad297 Initial commit
Signed-off-by: fly <merspieler@alwaysdata.com>
2024-05-31 11:47:34 +00:00

13 lines
408 B
Nix

let
pkgs = import <nixpkgs> {};
openxr-loader = pkgs.openxr-loader;
osgXR = pkgs.callPackage /home/fly/nix/programs/osgXR/default.nix {inherit openxr-loader;};
in pkgs.mkShell {
QT_PLUGIN_PATH = "${pkgs.libsForQt5.qt5.qtbase}/${pkgs.libsForQt5.qt5.qtbase.qtPluginPrefix}";
inputsFrom = [pkgs.flightgear];
packages = with pkgs; [
osgXR
pkgs.openxr-loader
pkgs.libsForQt5.qt5.wrapQtAppsHook
];
}