mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 16:27:03 +00:00
activation-scripts: remove _status
I believe this has been obsolete since `set -e` was added in
8708ebb796
.
This commit is contained in:
parent
0e87d3d391
commit
ff80eacd0f
1 changed files with 0 additions and 5 deletions
|
@ -44,9 +44,6 @@ in
|
|||
|
||||
systemConfig=@out@
|
||||
|
||||
_status=0
|
||||
trap "_status=1" ERR
|
||||
|
||||
# Ensure a consistent umask.
|
||||
umask 0022
|
||||
|
||||
|
@ -82,8 +79,6 @@ in
|
|||
|
||||
# Prevent the current configuration from being garbage-collected.
|
||||
ln -sfn /run/current-system /nix/var/nix/gcroots/current-system
|
||||
|
||||
exit $_status
|
||||
'';
|
||||
|
||||
# FIXME: activationScripts.checks should be system level
|
||||
|
|
Loading…
Add table
Reference in a new issue