Skip to content

Commit

Permalink
wip: nixify
Browse files Browse the repository at this point in the history
  • Loading branch information
pshirshov committed Oct 27, 2024
1 parent 6445bec commit 457ec2f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,19 @@ if [[ "$NIXIFY" == 1 && -z "${IN_NIX_SHELL+x}" ]]; then
set -x
nix flake lock
nix flake metadata
exec nix develop --ignore-environment --command bash "$self" "$@"
exec nix develop \
--ignore-environment \
--keep SONATYPE_SECRET \
--keep SCALA_VERSION \
--keep TOKEN_BITWARDEN_SM \
--keep CI_BRANCH \
--keep CI_COMMIT \
--keep CI_BRANCH_TAG \
--keep CI_PULL_REQUEST \
--keep CI_BUILD_UNIQ_SUFFIX \
--keep CI \
--keep HOME \
--command bash "$self" "$@"
fi

set -x
Expand Down

0 comments on commit 457ec2f

Please sign in to comment.