3
0
Fork 0
forked from mirrors/nixpkgs

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 let
cfg = config.systemd; cfg = config.systemd;
lndir = "${pkgs.xorg.lndir}/bin/lndir"; lndir = "${pkgs.buildPackages.xorg.lndir}/bin/lndir";
in rec { in rec {
shellEscape = s: (replaceChars [ "\\" ] [ "\\\\" ] s); shellEscape = s: (replaceChars [ "\\" ] [ "\\\\" ] s);