summary refs log tree commit diff
path: root/pkgs/os-specific/linux/chromium-os/libqmi/default.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-05-30 17:40:25 +0000
committerAlyssa Ross <hi@alyssa.is>2020-06-02 03:24:37 +0000
commite72c23ff066a947473ef18973bed07ce192ec3b2 (patch)
tree11bd5b47b89d32f61424ab3b57a0e183a850f329 /pkgs/os-specific/linux/chromium-os/libqmi/default.nix
parentcfa1e27fdfb68503311f5b509b47bc6722d63601 (diff)
downloadnixpkgs-e72c23ff066a947473ef18973bed07ce192ec3b2.tar
nixpkgs-e72c23ff066a947473ef18973bed07ce192ec3b2.tar.gz
nixpkgs-e72c23ff066a947473ef18973bed07ce192ec3b2.tar.bz2
nixpkgs-e72c23ff066a947473ef18973bed07ce192ec3b2.tar.lz
nixpkgs-e72c23ff066a947473ef18973bed07ce192ec3b2.tar.xz
nixpkgs-e72c23ff066a947473ef18973bed07ce192ec3b2.tar.zst
nixpkgs-e72c23ff066a947473ef18973bed07ce192ec3b2.zip
chromiumOSPackages: improve update.py repo compat
These changes make chromiumOSPackages.updateScript better understand
the Repo manifest format[1].

It now properly distinguishes between paths in the Chromium OS source
tree and paths on the git servers, which are usually not the same.
For example, chromiumos-overlay is located in the source tree at
src/third_party/chromiumos-overlay, but on chromium.googlesource.com
it's located at chromiumos/overlays/chromiumos-overlays.  Components
are now keyed by their location in the Chromium OS source tree (and
packages have all been updated for this change.)

Additionally, it now understands Repo remotes.  This means that it is
now possible to use a Chromium OS component like Minijail, which is
hosted on android.googlesource.com rather than
chromiumos.googlesource.com.  This was not previously possible.

[1]: https://gerrit.googlesource.com/git-repo/+/HEAD/docs/manifest-format.md

Message-Id: <20200530190028.6388-1-hi@alyssa.is>
Reviewed-by: Cole Helbling <cole.e.helbling@outlook.com>
Diffstat (limited to 'pkgs/os-specific/linux/chromium-os/libqmi/default.nix')
-rw-r--r--pkgs/os-specific/linux/chromium-os/libqmi/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/chromium-os/libqmi/default.nix b/pkgs/os-specific/linux/chromium-os/libqmi/default.nix
index ac444848b81..ec4f44c7047 100644
--- a/pkgs/os-specific/linux/chromium-os/libqmi/default.nix
+++ b/pkgs/os-specific/linux/chromium-os/libqmi/default.nix
@@ -8,7 +8,7 @@ libqmi.overrideAttrs (
     pname = "libqmi-unstable";
     version = "2019-12-16";
 
-    src = fetchFromGitiles upstreamInfo.components."chromiumos/third_party/libqmi";
+    src = fetchFromGitiles upstreamInfo.components."src/third_party/libqmi";
 
     nativeBuildInputs = nativeBuildInputs ++
       [ autoreconfHook autoconf-archive gtk-doc docbook-xsl-nons ];