diff --git a/pkgs/tools/system/fcron/default.nix b/pkgs/tools/system/fcron/default.nix index a803ce680d4..c865e8f6777 100644 --- a/pkgs/tools/system/fcron/default.nix +++ b/pkgs/tools/system/fcron/default.nix @@ -23,7 +23,7 @@ args.stdenv.mkDerivation { ]; installTargets = "install-staged"; # install does also try to change permissions of /etc/* files preConfigure = '' - sed -i 's@/usr/bin/env perl@${args.perl}/bin/perl@g' configure + sed -i 's@/usr/bin/env perl@${args.perl}/bin/perl@g' configure script/* # Don't let fcron create the group fcron, nix(os) should do this sed -i '2s@.*@exit 0@' script/user-group