Compare commits
8 Commits
11a6b7d82b
...
e87939e1f2
Author | SHA1 | Date |
---|---|---|
|
e87939e1f2 | |
|
3630c02f48 | |
|
fdf34e51bb | |
|
a0b540022e | |
|
20f6343be2 | |
|
2f30fc4fb8 | |
|
76b5547c2d | |
|
08811f9a61 |
|
@ -1,6 +1,7 @@
|
||||||
with (import <nixpkgs> {});
|
with (import <nixpkgs> {});
|
||||||
let
|
let
|
||||||
glibStorePath = lib.getLib glib;
|
glibStorePath = lib.getLib glib;
|
||||||
|
zlibStorePath = lib.getLib zlib;
|
||||||
zstdStorePath = lib.getLib zstd;
|
zstdStorePath = lib.getLib zstd;
|
||||||
dbusStorePath = lib.getLib dbus;
|
dbusStorePath = lib.getLib dbus;
|
||||||
libGLStorePath = lib.getLib libGL;
|
libGLStorePath = lib.getLib libGL;
|
||||||
|
@ -29,6 +30,7 @@ stdenv.mkDerivation {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
# System requirements.
|
# System requirements.
|
||||||
glib
|
glib
|
||||||
|
zlib
|
||||||
dbus
|
dbus
|
||||||
zstd
|
zstd
|
||||||
libGL
|
libGL
|
||||||
|
@ -70,6 +72,7 @@ stdenv.mkDerivation {
|
||||||
LIB_GCC_PATH="${libgcc.lib}/lib"
|
LIB_GCC_PATH="${libgcc.lib}/lib"
|
||||||
GLIB_PATH="${glibStorePath}/lib"
|
GLIB_PATH="${glibStorePath}/lib"
|
||||||
ZSTD_PATH="${zstdStorePath}/lib"
|
ZSTD_PATH="${zstdStorePath}/lib"
|
||||||
|
ZLIB_PATH="${zlibStorePath}/lib"
|
||||||
DBUS_PATH="${dbusStorePath}/lib"
|
DBUS_PATH="${dbusStorePath}/lib"
|
||||||
LIBGL_PATH="${libGLStorePath}/lib"
|
LIBGL_PATH="${libGLStorePath}/lib"
|
||||||
FREETYPE_PATH="${freetypeStorePath}/lib"
|
FREETYPE_PATH="${freetypeStorePath}/lib"
|
||||||
|
@ -92,6 +95,7 @@ stdenv.mkDerivation {
|
||||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_GCC_PATH"
|
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_GCC_PATH"
|
||||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DBUS_PATH"
|
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DBUS_PATH"
|
||||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GLIB_PATH"
|
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GLIB_PATH"
|
||||||
|
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ZLIB_PATH"
|
||||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ZSTD_PATH"
|
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ZSTD_PATH"
|
||||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIBGL_PATH"
|
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIBGL_PATH"
|
||||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$FONTCONFIG_PATH"
|
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$FONTCONFIG_PATH"
|
||||||
|
@ -121,7 +125,7 @@ stdenv.mkDerivation {
|
||||||
PATCH="$PATCH:$PYQT6_PATH"
|
PATCH="$PATCH:$PYQT6_PATH"
|
||||||
PATCH="$PATCH:$PYQT6_SIP_PATH"
|
PATCH="$PATCH:$PYQT6_SIP_PATH"
|
||||||
|
|
||||||
export PATCH
|
export PATCH
|
||||||
|
|
||||||
# Install deps
|
# Install deps
|
||||||
uv lock
|
uv lock
|
||||||
|
|
Loading…
Reference in New Issue