From 2ef7fec214d715f1d33331151f142467239a0ec3 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Thu, 21 Oct 2021 03:55:36 +0200 Subject: [PATCH] nixos/systemd-lib: fix cross-compiling --- nixos/modules/system/boot/systemd-lib.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/systemd-lib.nix b/nixos/modules/system/boot/systemd-lib.nix index 2dbf15031a08..6c4d27018eed 100644 --- a/nixos/modules/system/boot/systemd-lib.nix +++ b/nixos/modules/system/boot/systemd-lib.nix @@ -4,7 +4,7 @@ with lib; let cfg = config.systemd; - lndir = "${pkgs.xorg.lndir}/bin/lndir"; + lndir = "${pkgs.buildPackages.xorg.lndir}/bin/lndir"; in rec { shellEscape = s: (replaceChars [ "\\" ] [ "\\\\" ] s);