Skip to content

Commit

Permalink
nix: allow broken and insecure
Browse files Browse the repository at this point in the history
  • Loading branch information
d12frosted committed Aug 14, 2024
1 parent 0c3ca3e commit e3e219d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eru.sh
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ upgrade_guard && {
theme_guard "system" "build nix environment" && {
cd "$XDG_CONFIG_HOME" && {
macos_guard && {
export NIXPKGS_ALLOW_BROKEN=1
export NIXPKGS_ALLOW_INSECURE=1
nix build --impure \
./#darwinConfigurations.${fellow}.system
result/sw/bin/darwin-rebuild switch \
Expand Down

0 comments on commit e3e219d

Please sign in to comment.