28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
# This file documents the approach taken to build stremio-linux-shell
|
|
# from master branch with a Rust version compatible with nixpkgs nixos-25.11
|
|
|
|
# Approach: Create a patched version of Cargo.toml with older dependencies
|
|
# that are compatible with Rust 1.91
|
|
|
|
# The master branch currently (261f46f) requires:
|
|
# - gtk4 0.11.3 (requires Rust 1.92)
|
|
# - libadwaita 0.9.1 (requires Rust 1.92)
|
|
# - webkit6 0.6.1 (requires Rust 1.92)
|
|
|
|
# We need to pin these to older versions that work with Rust 1.91:
|
|
# - gtk4 0.11.2 (last version before 1.92 requirement)
|
|
# - libadwaita 0.9.0
|
|
# - webkit6 0.6.0
|
|
|
|
# However, this requires patching Cargo.toml, which is complex.
|
|
# The cleaner solution is to use nixpkgs-unstable which has Rust 1.94+.
|
|
|
|
# Currently, the flake.nix overlays use nixpkgs-unstable for stremio-linux-shell
|
|
# which should work, but there are native build dependencies that need to be installed.
|
|
|
|
# Build dependencies needed for native GTK4 build:
|
|
# - pkg-config (for finding libraries)
|
|
# - glib, cairo, pango, gdk-pixbuf (buildInputs)
|
|
# - wrapGAppsHook4 (for GTK4 wrapping)
|
|
# - nodejs (for server.js)
|