Maybe fix hyprland v2_final_finalforreal
This commit is contained in:
parent
f39e78d519
commit
a201f98c7c
1 changed files with 3 additions and 4 deletions
|
|
@ -2,18 +2,17 @@
|
||||||
{ config, pkgs, lib, inputs, ... }:
|
{ config, pkgs, lib, inputs, ... }:
|
||||||
let
|
let
|
||||||
hyprland-pkgs = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system};
|
hyprland-pkgs = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system};
|
||||||
hyprutils = hyprland-pkgs.hyprutils;
|
|
||||||
|
|
||||||
# hyprutils-0.13.1 was compiled with GCC 15 (requires GLIBCXX_3.4.34) but
|
# hyprutils-0.13.1 was compiled with GCC 15 (requires GLIBCXX_3.4.34) but
|
||||||
# its RPATH was patched to gcc-14.3.0-lib which only goes to GLIBCXX_3.4.33.
|
# its RPATH was patched to gcc-14.3.0-lib which only goes to GLIBCXX_3.4.33.
|
||||||
# Locate gcc-15's libstdc++ from hyprutils's own runtime closure so the
|
# Locate gcc-15's libstdc++ from Hyprland's own runtime closure (hyprutils
|
||||||
# version is always in sync with whatever hyprland shipped.
|
# is a transitive dep, so gcc-15-lib will appear here too).
|
||||||
gcc15-lib = lib.head (lib.filter
|
gcc15-lib = lib.head (lib.filter
|
||||||
(p: lib.hasInfix "gcc-15" p && lib.hasSuffix "-lib" p)
|
(p: lib.hasInfix "gcc-15" p && lib.hasSuffix "-lib" p)
|
||||||
(lib.splitString "\n"
|
(lib.splitString "\n"
|
||||||
(lib.removeSuffix "\n"
|
(lib.removeSuffix "\n"
|
||||||
(builtins.readFile
|
(builtins.readFile
|
||||||
"${pkgs.closureInfo { rootPaths = [ hyprutils ]; }}/store-paths"))));
|
"${pkgs.closureInfo { rootPaths = [ hyprland-pkgs.hyprland ]; }}/store-paths"))));
|
||||||
|
|
||||||
hyprland-wrapped = (pkgs.symlinkJoin {
|
hyprland-wrapped = (pkgs.symlinkJoin {
|
||||||
name = hyprland-pkgs.hyprland.name;
|
name = hyprland-pkgs.hyprland.name;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue