system76-power: use fetchCargoVendor

This commit is contained in:
Heitor Augusto
2025-03-09 15:08:48 -03:00
parent aa70590e58
commit 0e60a1a04e
2 changed files with 2 additions and 1807 deletions
File diff suppressed because it is too large Load Diff
+2 -6
View File
@@ -24,12 +24,8 @@ rustPlatform.buildRustPackage rec {
libusb1
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"sysfs-class-0.1.3" = "sha256-ztfwfCRAkxUd/LLNG5fpVuFdgX+tCKL3F35qYJ2GDm8=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-/dhuWgHysJ2oWgJ6jc9u4tsUOxlFt/awlK/9Jk1GHCM=";
postInstall = ''
install -D -m 0644 data/com.system76.PowerDaemon.conf $out/etc/dbus-1/system.d/com.system76.PowerDaemon.conf