Skip to content

Commit

Permalink
Reverting change
Browse files Browse the repository at this point in the history
  • Loading branch information
maddeleine committed Dec 10, 2024
1 parent 731e8e9 commit f72fbd0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions codebuild/spec/buildspec_al2023_ktls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ phases:
- yum update -y; yum upgrade -y
pre_build:
commands:
# 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
# (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
# 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 f72fbd0

Please sign in to comment.