qrq: fix sourceRoot (#346888)

This commit is contained in:
Matthew Croughan 2024-10-07 12:15:36 +01:00 committed by GitHub
commit 6ad66eda85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
hash = "sha256-uuETGbv5qm0Z+45+kK66SBHhQ0Puu6I5z+TWIh3iR2g=";
};
sourceRoot = "${src.name}/src";
buildInputs = [
ncurses
pulseaudio
@ -28,7 +30,7 @@ stdenv.mkDerivation rec {
];
postPatch = ''
substituteInPlace src/qrq.c \
substituteInPlace qrq.c \
--replace-fail '[80]' '[4000]' \
--replace-fail '80,' '4000,'
'';