-
-
Save joepie91/427ae9f79ad4e7661e67823da850c33c to your computer and use it in GitHub Desktop.
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> {} }: | |
with pkgs; | |
let | |
qtPackage = qt5.qtbase; | |
makePackageConfigPath = stdenv.lib.makeSearchPathOutput "dev" "lib/pkgconfig"; | |
in stdenv.mkDerivation rec { | |
name = "nodegui-dev-env"; | |
buildInputs = [ | |
pkgconfig | |
qtPackage | |
cmake | |
libGL | |
p7zip | |
]; | |
LD_LIBRARY_PATH = "${stdenv.lib.makeLibraryPath buildInputs}:/run/opengl-driver/lib"; | |
PKG_CONFIG_PATH = makePackageConfigPath buildInputs; | |
QT_INSTALL_DIR = qtPackage; | |
USE_SYSTEM7ZA = "true"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment