Skip to content

Commit

Permalink
Merge pull request #27 from Nanotwerp/main
Browse files Browse the repository at this point in the history
fix: replace the deprecated `addOpenGLRunpath` with `addDriverRunpath`
  • Loading branch information
r-k-b authored Jan 5, 2025
2 parents cddf5ba + a724cbb commit ae7ef2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google-chrome/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
libva,

# For Vulkan support (--enable-features=Vulkan)
addOpenGLRunpath,
addDriverRunpath,
}:

let
Expand Down Expand Up @@ -267,7 +267,7 @@ stdenv.mkDerivation {
--prefix LD_LIBRARY_PATH : "$rpath" \
--prefix PATH : "$binpath" \
--suffix PATH : "${lib.makeBinPath [ xdg-utils ]}" \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:${addOpenGLRunpath.driverLink}/share" \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:${addDriverRunpath.driverLink}/share" \
--set CHROME_WRAPPER "google-chrome-$dist" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
--add-flags ${lib.escapeShellArg commandLineArgs}
Expand Down

0 comments on commit ae7ef2a

Please sign in to comment.