Skip to content

Print the content of templates/default/flake.nix #36

Print the content of templates/default/flake.nix

Print the content of templates/default/flake.nix #36

Workflow file for this run

name: CI
on: push
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- run: nix eval --impure .#tests
working-directory: tests
template:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- run: sed -i 's/github:sestrella\/asdf2nix/github:sestrella\/asdf2nix\/${{ github.sha }}/g' templates/*/flake.nix
- run: cat templates/default/flake.nix
- run: git add --all
- run: echo "tmpdir=$(mktemp -d)" >> "$GITHUB_OUTPUT"
id: mktemp
- run: nix flake init -t ${{ github.workspace }}#default
working-directory: ${{ steps.mktemp.outputs.tmpdir }}
- run: nix develop -c python --version
working-directory: ${{ steps.mktemp.outputs.tmpdir }}