lightdm: fix cross

/nix/store/vkf1kli03iaxmxc9r06k01a8lmqy82k8-busybox-aarch64-unknown-linux-gnu-1.35.0/bin/which: line 1: syntax error: unterminated quoted string
This commit is contained in:
Artturin 2022-07-28 22:36:55 +03:00
parent 73ee7eeb32
commit 98b734d22c

View File

@ -1,4 +1,5 @@
{ lib, stdenv
, buildPackages
, fetchFromGitHub
, nix-update-script
, substituteAll
@ -120,7 +121,7 @@ stdenv.mkDerivation rec {
prePatch = ''
substituteInPlace autogen.sh \
--replace "which" "${busybox}/bin/which"
--replace "which" "${buildPackages.busybox}/bin/which"
substituteInPlace src/shared-data-manager.c \
--replace /bin/rm ${busybox}/bin/rm