Skip to content

Commit

Permalink
Revert "(chore): Installs Nix in AL2023 Buildspec (#4934)"
Browse files Browse the repository at this point in the history
This reverts commit 9622cf4.
  • Loading branch information
maddeleine committed Dec 10, 2024
1 parent 9622cf4 commit fa263ef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions codebuild/spec/buildspec_al2023_ktls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ phases:
- yum update -y; yum upgrade -y
pre_build:
commands:
# (Re)Install nix
- sh <(curl -L https://nixos.org/nix/install) --no-daemon
# Make sure nix exists in the PATH
- export PATH=$HOME/.nix-profile/bin:$PATH
# Nix is installed, but intentionally not setup for root, fix that
- cp -aR /home/nix/.nix-profile ~/; chown -R root /root/.nix-profile; export PATH=$HOME/.nix-profile/bin:$PATH
# Turn on flakes
- mkdir -p ~/.config/nix; echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
# Populate the store from the nix cache
Expand Down

0 comments on commit fa263ef

Please sign in to comment.