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 19163a1 commit 38646eb
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,18 @@ 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 \
--command bash "$self" "$@"
fi

set -x
Expand Down

0 comments on commit 38646eb

Please sign in to comment.