Skip to content

Commit

Permalink
slimevr: fix libappindicator patching (NixOS#382752)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Feb 18, 2025
2 parents 5010cab + 7ef4e64 commit e8d07b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/sl/slimevr/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ rustPlatform.buildRustPackage rec {
''
+ lib.optionalString stdenv.hostPlatform.isLinux ''
# Both libappindicator-rs and SlimeVR need to know where Nix's appindicator lib is.
pushd $cargoDepsCopy/libappindicator-sys
pushd $cargoDepsCopy/libappindicator-sys-*
oldHash=$(sha256sum src/lib.rs | cut -d " " -f 1)
substituteInPlace src/lib.rs \
--replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
Expand Down

0 comments on commit e8d07b9

Please sign in to comment.