mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
e2fsprogs: check if e2scrub_all_cron exists
doesn’t exist on macos
This commit is contained in:
parent
eaf153b17e
commit
2522f58b0e
@ -39,7 +39,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
# avoid cycle between outputs
|
||||
mv $out/lib/${pname}/e2scrub_all_cron $bin/bin/
|
||||
if [ -f $out/lib/${pname}/e2scrub_all_cron ]; then
|
||||
mv $out/lib/${pname}/e2scrub_all_cron $bin/bin/
|
||||
fi
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user