mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
Revert "rmdir: avoid failing when directory did not exist"
This reverts commit 45db499d2d
.
This commit is contained in:
parent
0c960262d1
commit
5495cb91eb
@ -205,7 +205,7 @@ in
|
||||
''
|
||||
else ''
|
||||
rm -f /usr/bin/env
|
||||
rmdir -p /usr/bin || true
|
||||
rmdir --ignore-fail-on-non-empty /usr/bin /usr
|
||||
'';
|
||||
|
||||
system.activationScripts.ld-linux =
|
||||
@ -218,7 +218,7 @@ in
|
||||
mv -f ${target}.tmp ${target} # atomically replace
|
||||
'' else ''
|
||||
rm -f ${target}
|
||||
rmdir $(dirname ${target}) || true
|
||||
rmdir --ignore-fail-on-non-empty $(dirname ${target})
|
||||
'')
|
||||
{
|
||||
"i686-linux" ."/lib/ld-linux.so.2" = "${pkgs.glibc.out}/lib/ld-linux.so.2";
|
||||
|
Loading…
Reference in New Issue
Block a user