event-sim/nixos/configs/flightgear-shell.nix

14 lines
408 B
Nix
Raw Normal View History

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
];
}