diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-06-25 00:13:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-25 00:13:34 +0000 |
commit | b7a9a1b139e8096ac15d07c7bdc944ccae47edce (patch) | |
tree | 68befbc1d1678ae02d93fd61bc24fd1e825d5646 /pkgs/applications/virtualization/crosvm | |
parent | c66cab93ce90caf75a5f15aef2690dd8c2da1879 (diff) | |
parent | 4c547b66635455ad061d4beecaf1805810dc0428 (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/applications/virtualization/crosvm')
-rw-r--r-- | pkgs/applications/virtualization/crosvm/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/virtualization/crosvm/default.nix b/pkgs/applications/virtualization/crosvm/default.nix index 40d940a6904d6..9ba769dfd7ed7 100644 --- a/pkgs/applications/virtualization/crosvm/default.nix +++ b/pkgs/applications/virtualization/crosvm/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchgit +{ lib, rustPlatform, fetchgit, fetchpatch , pkg-config, protobuf, python3, wayland-scanner , libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols }: @@ -14,6 +14,15 @@ rustPlatform.buildRustPackage rec { fetchSubmodules = true; }; + patches = [ + (fetchpatch { + name = "musl.patch"; + url = "https://chromium.googlesource.com/chromiumos/platform/crosvm/+/128e591037c0be0362ed814d0b5583aa65ff09e1%5E%21/?format=TEXT"; + decode = "base64 -d"; + hash = "sha256-p5VzHRb0l0vCJNe48cRl/uBYHwTQMEykMcBOMzL3yaY="; + }) + ]; + separateDebugInfo = true; cargoHash = "sha256-1AUfd9dhIZvVVUsVbnGoLKc0lBfccwM4wqWgU4yZWOE="; |