Merge pull request #260876 from GaetanLepage/mission-center

mission-center: 0.3.2 -> 0.3.3
This commit is contained in:
Weijia Wang 2023-10-15 00:59:37 +02:00 committed by GitHub
commit 6b835f2557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 928 additions and 350 deletions

View File

@ -155,20 +155,6 @@ name = "bytemuck"
version = "1.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea"
dependencies = [
"bytemuck_derive",
]
[[package]]
name = "bytemuck_derive"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fdde5c9cd29ebd706ce1b35600920a33550e402fc998a2e53ad3b42c3c47a192"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.23",
]
[[package]]
name = "byteorder"
@ -185,7 +171,7 @@ dependencies = [
"bitflags 2.3.3",
"cairo-sys-rs",
"glib",
"libc 0.2.147",
"libc",
"once_cell",
"thiserror",
]
@ -197,7 +183,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd4d115132e01c0165e3bf5f56aedee8980b0b96ede4eb000b693c05a8adb8ff"
dependencies = [
"glib-sys",
"libc 0.2.147",
"libc",
"system-deps",
]
@ -278,7 +264,7 @@ version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1"
dependencies = [
"libc 0.2.147",
"libc",
]
[[package]]
@ -330,7 +316,7 @@ dependencies = [
"autocfg",
"cfg-if 1.0.0",
"crossbeam-utils 0.8.16",
"memoffset 0.9.0",
"memoffset",
"scopeguard",
]
@ -390,15 +376,6 @@ dependencies = [
"crypto-common",
]
[[package]]
name = "dlib"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412"
dependencies = [
"libloading",
]
[[package]]
name = "dlv-list"
version = "0.5.0"
@ -408,60 +385,6 @@ dependencies = [
"const-random",
]
[[package]]
name = "downcast-rs"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
[[package]]
name = "drm"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "edf9159ef4bcecd0c5e4cbeb573b8d0037493403d542780dba5d840bbf9df56f"
dependencies = [
"bitflags 1.3.2",
"bytemuck",
"drm-ffi",
"drm-fourcc",
"nix",
]
[[package]]
name = "drm-ffi"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1352481b7b90e27a8a1bf8ef6b33cf18b98dba7c410e75c24bb3eef2f0d8d525"
dependencies = [
"drm-sys",
"nix",
]
[[package]]
name = "drm-fourcc"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0aafbcdb8afc29c1a7ee5fbe53b5d62f4565b35a042a662ca9fecd0b54dae6f4"
[[package]]
name = "drm-sys"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1369f1679d6b706d234c4c1e0613c415c2c74b598a09ad28080ba2474b72e42d"
dependencies = [
"libc 0.2.147",
]
[[package]]
name = "egl"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a373bc9844200b1ff15bd1b245931d1c20d09d06e4ec09f361171f29a4b0752d"
dependencies = [
"khronos",
"libc 0.2.147",
]
[[package]]
name = "either"
version = "1.8.1"
@ -481,7 +404,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c0007216af1525058024bc6dc15bbd2ffe8af877f0fbf754fbdb78c59d634e8"
dependencies = [
"cc",
"libc 0.2.147",
"libc",
]
[[package]]
@ -517,7 +440,7 @@ version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38e2275cc4e4fc009b0669731a1e5ab7ebf11f469eaede2bab9309a5b4d6057f"
dependencies = [
"memoffset 0.9.0",
"memoffset",
"rustc_version 0.4.0",
]
@ -608,30 +531,6 @@ dependencies = [
"byteorder",
]
[[package]]
name = "gbm"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2ec389cda876966cf824111bf6e533fb934c711d473498279964a990853b3c6"
dependencies = [
"bitflags 1.3.2",
"drm",
"drm-fourcc",
"gbm-sys",
"libc 0.2.147",
"wayland-backend",
"wayland-server",
]
[[package]]
name = "gbm-sys"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b63eba9b9b7a231514482deb08759301c9f9f049ac6869403f381834ebfeaf67"
dependencies = [
"libc 0.2.147",
]
[[package]]
name = "gdk-pixbuf"
version = "0.18.0"
@ -641,7 +540,7 @@ dependencies = [
"gdk-pixbuf-sys",
"gio",
"glib",
"libc 0.2.147",
"libc",
"once_cell",
]
@ -654,7 +553,7 @@ dependencies = [
"gio-sys",
"glib-sys",
"gobject-sys",
"libc 0.2.147",
"libc",
"system-deps",
]
@ -669,7 +568,7 @@ dependencies = [
"gdk4-sys",
"gio",
"glib",
"libc 0.2.147",
"libc",
"pango",
]
@ -684,7 +583,7 @@ dependencies = [
"gio-sys",
"glib-sys",
"gobject-sys",
"libc 0.2.147",
"libc",
"pango-sys",
"pkg-config",
"system-deps",
@ -707,7 +606,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
dependencies = [
"cfg-if 1.0.0",
"libc 0.2.147",
"libc",
"wasi",
]
@ -743,7 +642,7 @@ dependencies = [
"futures-util",
"gio-sys",
"glib",
"libc 0.2.147",
"libc",
"once_cell",
"pin-project-lite",
"smallvec",
@ -758,7 +657,7 @@ checksum = "37566df850baf5e4cb0dfb78af2e4b9898d817ed9263d1090a2df958c64737d2"
dependencies = [
"glib-sys",
"gobject-sys",
"libc 0.2.147",
"libc",
"system-deps",
"winapi",
]
@ -799,7 +698,7 @@ dependencies = [
"glib-macros",
"glib-sys",
"gobject-sys",
"libc 0.2.147",
"libc",
"memchr",
"once_cell",
"smallvec",
@ -826,7 +725,7 @@ version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "063ce2eb6a8d0ea93d2bf8ba1957e78dbab6be1c2220dd3daca57d5a9d869898"
dependencies = [
"libc 0.2.147",
"libc",
"system-deps",
]
@ -837,7 +736,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0850127b514d1c4a4654ead6dedadb18198999985908e6ffe4436f53c785ce44"
dependencies = [
"glib-sys",
"libc 0.2.147",
"libc",
"system-deps",
]
@ -849,7 +748,7 @@ checksum = "3b2228cda1505613a7a956cca69076892cfbda84fc2b7a62b94a41a272c0c401"
dependencies = [
"glib",
"graphene-sys",
"libc 0.2.147",
"libc",
]
[[package]]
@ -859,7 +758,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc4144cee8fc8788f2a9b73dc5f1d4e1189d1f95305c4cb7bd9c1af1cfa31f59"
dependencies = [
"glib-sys",
"libc 0.2.147",
"libc",
"pkg-config",
"system-deps",
]
@ -875,7 +774,7 @@ dependencies = [
"glib",
"graphene-rs",
"gsk4-sys",
"libc 0.2.147",
"libc",
"pango",
]
@ -890,7 +789,7 @@ dependencies = [
"glib-sys",
"gobject-sys",
"graphene-sys",
"libc 0.2.147",
"libc",
"pango-sys",
"system-deps",
]
@ -912,7 +811,7 @@ dependencies = [
"gsk4",
"gtk4-macros",
"gtk4-sys",
"libc 0.2.147",
"libc",
"pango",
]
@ -944,7 +843,7 @@ dependencies = [
"gobject-sys",
"graphene-sys",
"gsk4-sys",
"libc 0.2.147",
"libc",
"pango-sys",
"system-deps",
]
@ -1051,7 +950,7 @@ dependencies = [
"futures-core",
"futures-io",
"intmap",
"libc 0.2.147",
"libc",
"once_cell",
"rustc_version 0.4.0",
"spinning",
@ -1066,17 +965,6 @@ version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae52f28f45ac2bc96edb7714de995cffc174a395fb0abf5bff453587c980d7b9"
[[package]]
name = "io-lifetimes"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
dependencies = [
"hermit-abi",
"libc 0.2.147",
"windows-sys",
]
[[package]]
name = "itoa"
version = "1.0.8"
@ -1092,15 +980,6 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "khronos"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0711aaa80e6ba6eb1fa8978f1f46bfcb38ceb2f3f33f3736efbff39dac89f50"
dependencies = [
"libc 0.1.12",
]
[[package]]
name = "khronos_api"
version = "3.1.0"
@ -1125,7 +1004,7 @@ dependencies = [
"glib",
"gtk4",
"libadwaita-sys",
"libc 0.2.147",
"libc",
"pango",
]
@ -1140,33 +1019,17 @@ dependencies = [
"glib-sys",
"gobject-sys",
"gtk4-sys",
"libc 0.2.147",
"libc",
"pango-sys",
"system-deps",
]
[[package]]
name = "libc"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e32a70cf75e5846d53a673923498228bbec6a8624708a9ea5645f075d6276122"
[[package]]
name = "libc"
version = "0.2.147"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
[[package]]
name = "libloading"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d580318f95776505201b28cf98eb1fa5e4be3b689633ba6a3e6cd880ff22d8cb"
dependencies = [
"cfg-if 1.0.0",
"windows-sys",
]
[[package]]
name = "libsqlite3-sys"
version = "0.26.0"
@ -1184,7 +1047,7 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324"
dependencies = [
"libc 0.2.147",
"libc",
"pkg-config",
]
@ -1223,7 +1086,7 @@ version = "0.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb"
dependencies = [
"libc 0.2.147",
"libc",
]
[[package]]
@ -1238,15 +1101,6 @@ version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
[[package]]
name = "memoffset"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
dependencies = [
"autocfg",
]
[[package]]
name = "memoffset"
version = "0.9.0"
@ -1273,25 +1127,23 @@ dependencies = [
[[package]]
name = "missioncenter"
version = "0.3.2"
version = "0.3.3"
dependencies = [
"arrayvec 0.7.4",
"drm",
"egl",
"errno-sys",
"gbm",
"gettext-rs",
"gl",
"gtk4",
"interprocess",
"lazy_static",
"libadwaita",
"libc 0.2.147",
"libc",
"libudev-sys",
"minidl",
"num_cpus",
"pathfinder_canvas",
"pathfinder_color",
"pathfinder_content",
"pathfinder_geometry",
"pathfinder_gl",
"pathfinder_gpu",
@ -1318,8 +1170,7 @@ checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a"
dependencies = [
"bitflags 1.3.2",
"cfg-if 1.0.0",
"libc 0.2.147",
"memoffset 0.7.1",
"libc",
"static_assertions",
]
@ -1380,7 +1231,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
dependencies = [
"hermit-abi",
"libc 0.2.147",
"libc",
]
[[package]]
@ -1436,7 +1287,7 @@ checksum = "06a9e54b831d033206160096b825f2070cf5fda7e35167b1c01e9e774f9202d1"
dependencies = [
"gio",
"glib",
"libc 0.2.147",
"libc",
"once_cell",
"pango-sys",
]
@ -1449,7 +1300,7 @@ checksum = "436737e391a843e5933d6d9aa102cb126d501e815b83601365a948a518555dc5"
dependencies = [
"glib-sys",
"gobject-sys",
"libc 0.2.147",
"libc",
"system-deps",
]
@ -1685,15 +1536,6 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "quick-xml"
version = "0.28.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ce5e73202a820a31f8a0ee32ada5e21029c81fd9e3ebf668a40832e4219d9d1"
dependencies = [
"memchr",
]
[[package]]
name = "quote"
version = "1.0.29"
@ -1709,7 +1551,7 @@ version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc 0.2.147",
"libc",
"rand_chacha",
"rand_core",
]
@ -1841,12 +1683,6 @@ version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9"
[[package]]
name = "scoped-tls"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"
[[package]]
name = "scopeguard"
version = "1.1.0"
@ -1935,7 +1771,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "004d7ece9a3be64f85471d50967710b0a146144225bed5f0abd0514a3bed086f"
dependencies = [
"cfg-if 1.0.0",
"libc 0.2.147",
"libc",
"nix",
"rand",
"win-sys",
@ -2001,7 +1837,7 @@ checksum = "751e810399bba86e9326f5762b7f32ac5a085542df78da6a78d94e07d14d7c11"
dependencies = [
"cfg-if 1.0.0",
"core-foundation-sys",
"libc 0.2.147",
"libc",
"ntapi",
"once_cell",
"winapi",
@ -2215,59 +2051,6 @@ version = "0.2.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1"
[[package]]
name = "wayland-backend"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41b48e27457e8da3b2260ac60d0a94512f5cba36448679f3747c0865b7893ed8"
dependencies = [
"cc",
"downcast-rs",
"io-lifetimes",
"nix",
"scoped-tls",
"smallvec",
"wayland-sys",
]
[[package]]
name = "wayland-scanner"
version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9b873b257fbc32ec909c0eb80dea312076a67014e65e245f5eb69a6b8ab330e"
dependencies = [
"proc-macro2",
"quick-xml",
"quote",
]
[[package]]
name = "wayland-server"
version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c43c28096fe1d49fff7d1079404fdd0f669cd1a5b00c615bdfe71bb1884d23a"
dependencies = [
"bitflags 1.3.2",
"downcast-rs",
"io-lifetimes",
"nix",
"wayland-backend",
"wayland-scanner",
]
[[package]]
name = "wayland-sys"
version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96b2a02ac608e07132978689a6f9bf4214949c85998c247abadd4f4129b1aa06"
dependencies = [
"dlib",
"libc 0.2.147",
"log",
"memoffset 0.7.1",
"pkg-config",
]
[[package]]
name = "web-sys"
version = "0.3.64"
@ -2315,109 +2098,43 @@ version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45296b64204227616fdbf2614cefa4c236b98ee64dfaaaa435207ed99fe7829f"
dependencies = [
"windows_aarch64_msvc 0.34.0",
"windows_i686_gnu 0.34.0",
"windows_i686_msvc 0.34.0",
"windows_x86_64_gnu 0.34.0",
"windows_x86_64_msvc 0.34.0",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_msvc",
]
[[package]]
name = "windows-sys"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
dependencies = [
"windows-targets",
]
[[package]]
name = "windows-targets"
version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_msvc 0.48.0",
"windows_i686_gnu 0.48.0",
"windows_i686_msvc 0.48.0",
"windows_x86_64_gnu 0.48.0",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc 0.48.0",
]
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
[[package]]
name = "windows_aarch64_msvc"
version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d"
[[package]]
name = "windows_aarch64_msvc"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
[[package]]
name = "windows_i686_gnu"
version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed"
[[package]]
name = "windows_i686_gnu"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
[[package]]
name = "windows_i686_msvc"
version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956"
[[package]]
name = "windows_i686_msvc"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
[[package]]
name = "windows_x86_64_gnu"
version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4"
[[package]]
name = "windows_x86_64_gnu"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
[[package]]
name = "windows_x86_64_msvc"
version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9"
[[package]]
name = "windows_x86_64_msvc"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
[[package]]
name = "winnow"
version = "0.4.9"

View File

@ -42,13 +42,13 @@ let
in
stdenv.mkDerivation rec {
pname = "mission-center";
version = "0.3.2";
version = "0.3.3";
src = fetchFromGitLab {
owner = "mission-center-devs";
repo = "mission-center";
rev = "v${version}";
hash = "sha256-KuaVivW/i+1Pw6ShpvBYbwPMUHsEJ7FR80is0DBMbXM=";
hash = "sha256-xLyCLKUk21MvswtPUKm41Hr34vTzCMVQNTaAkuhSGLc=";
};
cargoDeps = symlinkJoin {
@ -102,14 +102,24 @@ stdenv.mkDerivation rec {
];
postPatch = ''
echo -e "[wrap-file]\ndirectory = nvtop-src\n[provide]\ndependency_names = nvtop" > ./subprojects/nvtop.wrap
cp -r --no-preserve=mode,ownership "${nvtop}" ./subprojects/nvtop-src
cd ./subprojects/nvtop-src
SRC_GATHERER=$NIX_BUILD_TOP/source/src/sys_info_v2/gatherer
SRC_GATHERER_NVTOP=$SRC_GATHERER/3rdparty/nvtop
substituteInPlace $SRC_GATHERER_NVTOP/nvtop.json \
--replace "nvtop-be47f8c560487efc6e6a419d59c69bfbdb819324" "nvtop-src"
GATHERER_BUILD_DEST=$NIX_BUILD_TOP/source/build/src/sys_info_v2/gatherer/src/debug/build/native
mkdir -p $GATHERER_BUILD_DEST
NVTOP_SRC=$GATHERER_BUILD_DEST/nvtop-src
cp -r --no-preserve=mode,ownership "${nvtop}" $NVTOP_SRC
pushd $NVTOP_SRC
mkdir -p include/libdrm
for patchfile in $(ls ../packagefiles/nvtop*.patch); do
for patchfile in $(ls $SRC_GATHERER_NVTOP/patches/nvtop*.patch); do
patch -p1 < $patchfile
done
cd ../..
popd
patchShebangs data/hwdb/generate_hwdb.py
'';

File diff suppressed because it is too large Load Diff