diff --git a/flake.lock b/flake.lock index 08b6eba5..1f341b6b 100644 --- a/flake.lock +++ b/flake.lock @@ -167,11 +167,11 @@ }, "nixpkgs-next-unpatched": { "locked": { - "lastModified": 1716724870, - "narHash": "sha256-nl8hhDgP/F2VmqN5NdHVpYyGMLUkBn5dnYCtj4LRmHs=", + "lastModified": 1717113723, + "narHash": "sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "2baa940f86e1fc54757fd7d1ed551c0a38904bf2", + "rev": "d3d81af60c22e9e93a3930a9630b210362341ab9", "type": "github" }, "original": { @@ -199,11 +199,11 @@ }, "nixpkgs-unpatched": { "locked": { - "lastModified": 1716735846, - "narHash": "sha256-tNsfjHkdF8ZJqfCKPrQWRApO/UD0eD2Ge4b8YHzEtcA=", + "lastModified": 1717125154, + "narHash": "sha256-8VpPVwCOYIdVuAxdCCobva1zqECuh732V5GDG5rzptI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "7780e5160e011b39019797a4c4b1a4babc80d1bf", + "rev": "4e60a4d94bdc1abafeefc1928aa3cda6ce6c4210", "type": "github" }, "original": { @@ -223,11 +223,11 @@ ] }, "locked": { - "lastModified": 1716729436, - "narHash": "sha256-wido1xW88LX7qKTxmEWkQoQ5E8P03T9libDjM/bHIHs=", + "lastModified": 1717117873, + "narHash": "sha256-d7pL/XDVUwO0XnmqUxSIdWk+mzEVcwhoW9B2sgAVIr4=", "owner": "nix-community", "repo": "nixpkgs-wayland", - "rev": "397c85d463aef789a8dd24c4db467e9ad787907b", + "rev": "1db9b79a45c8e346e03480767e6d9749fabfaf10", "type": "github" }, "original": { diff --git a/hosts/common/programs/handbrake.nix b/hosts/common/programs/handbrake.nix index 606364d6..d1e002ce 100644 --- a/hosts/common/programs/handbrake.nix +++ b/hosts/common/programs/handbrake.nix @@ -17,7 +17,7 @@ # disable expensive sambda dependency; i don't use it. packageUnwrapped = pkgs.handbrake.override { - ffmpeg-full = pkgs.ffmpeg-full.override { + ffmpeg_7-full = pkgs.ffmpeg_7-full.override { withSamba = false; }; }; diff --git a/nixpatches/list.nix b/nixpatches/list.nix index 93fb32e2..5f6ce94a 100644 --- a/nixpatches/list.nix +++ b/nixpatches/list.nix @@ -38,12 +38,6 @@ in [ hash = "sha256-hAaFHlJdx1GjQIJG5zxTBHm+CbmR/zlKUB9eyxPQbOg="; }) - (fetchpatch' { - title = "gnome.gnome-keyring: support cross compilation"; - prUrl = "https://github.com/NixOS/nixpkgs/pull/311773"; - hash = "sha256-HQax4h18Eb34I7qn00LvJtsJj65ZtEWjJMdvctt/PbY="; - }) - # branch: wip-ffado-cross (fetchpatch' { # TODO: send out for review (after jtolnar's stuff is merged) diff --git a/overlays/cross.nix b/overlays/cross.nix index e2dc1a06..8b6cf5f1 100644 --- a/overlays/cross.nix +++ b/overlays/cross.nix @@ -1154,6 +1154,30 @@ in with final; { # callPackage = self.newScope { inherit (self) qtCompatVersion qtModule srcs; inherit stdenv; }; # }); + libphonenumber = prev.libphonenumber.overrideAttrs (upstream: { + # fix that phone number geolocation binary doesn't cross compile. + # it's CMAKE, and a google project, so the fix to cross compile is unlikely to *ever* make it upstream. + # see: + # + # the main (only?) user of this library is evolution-data-server, + # which is consumed by gnome-calender, calls, planify. + # maybe i can purge EDS from my system somehow. + # - geary: package doesn't even have EDS as an input; it speaks to it over dbus. + # - calls: package has EDS as input (unused?); speaks to it over dbus. + # - it actually needs EDS though, for its `libebook-contacts` library: + # - gnome-calendar: package has EDS as input (unused?); speaks to it over dbus. + # - it actually needs EDS though, for its `libedataserverui4` library: + # - planify: package has EDS as input (unused?); speaks to it over dbus. + # - it actually needs EDS though, for its `libecal` library: + # - it could be using evolution-data-server-gtk4 instead of EDS gtk3 though + # + # or build EDS with `-DWITH_PHONENUMBER=OFF` + cmakeFlags = (upstream.cmakeFlags or []) ++ [ + "-DPROTOC_BIN=${lib.getExe buildPackages.protobuf}" + "-DBUILD_GEOCODER=OFF" + ]; + }); + # 2024/02/27: upstreaming is unblocked, out for PR: # but i don't think either the pkg-config fix (which breaks binfmt cross) nor disabling docs is the right fix. # libshumate = prev.libshumate.overrideAttrs (upstream: {