Skip to content

Commit

Permalink
Create nix config
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Feb 3, 2024
1 parent 37be788 commit b2ba7b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
run: sudo apt install nix cmake
- name: Run nix develop
run: |
sudo nix develop --profile /tmp/my-build-env --extra-experimental-features nix-command --extra-experimental-features flakes
sudo nix develop /tmp/my-build-env --command bash -c "./.github/scripts/export-env.sh"
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
sudo nix develop
# sudo nix develop /tmp/my-build-env --command ./.github/scripts/export-env.sh
- uses: lf-lang/action-check-lf-files@main
with:
check_mode: "compile"
Expand Down

0 comments on commit b2ba7b3

Please sign in to comment.