Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: libxkbcommon needed during linux build on nix #33

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nix/overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
inherit pname src version RUSTY_V8_ARCHIVE;
cargoExtraArgs = "--features release";
nativeBuildInputs = [cmake pkg-config protobuf];
buildInputs = [openssl];
buildInputs = [openssl] ++ optional isLinux libxkbcommon;
# OPENSSL_CONFIG_DIR didn't work for vendored dependencies
OPENSSL_NO_VENDOR = true;
};
Expand Down Expand Up @@ -105,7 +105,7 @@
postFixup =
if isLinux
then ''
patchelf --add-rpath ${makeLibraryPath [libxkbcommon libGL xorg.libX11 wayland]} $out/bin/gauntlet
patchelf --add-rpath ${makeLibraryPath [libGL xorg.libX11 wayland]} $out/bin/gauntlet
wrapProgram $out/bin/gauntlet --suffix PATH : ${makeBinPath [gtk3]}
substituteInPlace $out/lib/systemd/user/gauntlet.service --replace /usr/bin/gauntlet $out/bin/gauntlet
''
Expand Down
Loading