From 98b734d22ced0310390a34e59db22b336f85fe32 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 28 Jul 2022 22:36:55 +0300 Subject: [PATCH] lightdm: fix cross /nix/store/vkf1kli03iaxmxc9r06k01a8lmqy82k8-busybox-aarch64-unknown-linux-gnu-1.35.0/bin/which: line 1: syntax error: unterminated quoted string --- pkgs/applications/display-managers/lightdm/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/display-managers/lightdm/default.nix b/pkgs/applications/display-managers/lightdm/default.nix index d49dd646fc53..1a54fa2b25dd 100644 --- a/pkgs/applications/display-managers/lightdm/default.nix +++ b/pkgs/applications/display-managers/lightdm/default.nix @@ -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