srm-cuarzo: 0.5.6-1 -> 0.5.6-2

This commit is contained in:
R. Ryantm 2024-05-31 02:46:50 +00:00 committed by Nick Cao
parent 3852c7ab26
commit dbbe567d41
No known key found for this signature in database

View File

@ -14,9 +14,9 @@
}: }:
stdenv.mkDerivation (self: { stdenv.mkDerivation (self: {
pname = "srm-cuarzo"; pname = "srm-cuarzo";
version = "0.5.6-1"; version = "0.5.6-2";
rev = "v${self.version}"; rev = "v${self.version}";
hash = "sha256-REILtx4tPAWX4JnBjC0EU5dnnZhbVHhlVAWKo7n7sdA="; hash = "sha256-shYYmXTWa0cd0zTsdCDw536BkEtm6UdbUz/lQFURi90=";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit (self) rev hash; inherit (self) rev hash;
@ -42,12 +42,6 @@ stdenv.mkDerivation (self: {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
postPatch = ''
substituteInPlace src/meson.build \
--replace "/usr/include/drm" "${libdrm.dev}/include/drm" \
--replace "/usr/include/libdrm" "${libdrm.dev}/include/libdrm"
'';
preConfigure = '' preConfigure = ''
# The root meson.build file is in src/ # The root meson.build file is in src/
cd src cd src