mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +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
|
||||
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