nixos/systemd-lib: fix cross-compiling

This commit is contained in:
Julien Moutinho 2021-10-21 03:55:36 +02:00
parent 808ad2afe1
commit 2ef7fec214

View File

@ -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);