Flake: Fix shells

This commit is contained in:
soraefir
2023-11-24 16:57:46 +01:00
parent 67fd69f9bc
commit b44e6d9e5b
6 changed files with 85 additions and 77 deletions

View File

@ -1,16 +1,5 @@
{ lib
, rustPlatform
, fetchFromGitHub
, libdrm
, libX11
, libGL
, wayland
, wayland-protocols
, libxkbcommon
, libXrandr
, libXi
, libXcursor
}:
{ lib, rustPlatform, fetchFromGitHub, libdrm, libX11, libGL, wayland
, wayland-protocols, libxkbcommon, libXrandr, libXi, libXcursor }:
rustPlatform.buildRustPackage rec {
pname = "amdgpu_top";
@ -25,7 +14,8 @@ rustPlatform.buildRustPackage rec {
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"libdrm_amdgpu_sys-0.2.2" = "sha256-2QXT/6octEzokW8+0mHx02R8qQ3kCBDxZT4yyfDkM5A=";
"libdrm_amdgpu_sys-0.2.2" =
"sha256-2QXT/6octEzokW8+0mHx02R8qQ3kCBDxZT4yyfDkM5A=";
};
};
@ -57,4 +47,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with maintainers; [ geri1701 ];
platforms = platforms.linux;
};
}
}