safe-rm: fix cross compile

This commit is contained in:
Sandro Jäckel 2021-03-05 04:19:30 +01:00
parent 9bbd026fcd
commit 01e50d1136
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -10,7 +10,10 @@ stdenv.mkDerivation rec {
sha256 = "0zkmwxyl1870ar6jr9h537vmqgkckqs9jd1yv6m4qqzdsmg5gdbq";
};
propagatedBuildInputs = [ perl coreutils ];
# pod2man
nativeBuildInputs = [ perl ];
propagatedBuildInputs = [ coreutils perl ];
postFixup = ''
sed -e 's@/bin/rm@${coreutils}/bin/rm@' -i $out/bin/safe-rm