Skip to content

Commit

Permalink
Point inputs to a specific commit during the testing phase
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 14, 2023
1 parent ff888b2 commit 9f8b124
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- run: sed -i 's/github:sestrella\/asdf2nix/github:sestrella\/asdf2nix\/${{ github.sha }}' templates/*/flake.nix
- run: echo "tmpdir=$(mktemp -d)" >> "$GITHUB_OUTPUT"
id: mktemp
- run: nix flake init -t "${{ github.workspace }}#default"
- 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 }}
6 changes: 2 additions & 4 deletions templates/default/flake.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
inputs = {
# asdf2nix-python.url = "github:sestrella/asdf2nix?dir=plugins/python";
asdf2nix-python.url = "path:../../plugins/python";
# asdf2nix.url = "github:sestrella/asdf2nix";
asdf2nix.url = "path:../../";
asdf2nix-python.url = "github:sestrella/asdf2nix?dir=plugins/python";
asdf2nix.url = "github:sestrella/asdf2nix";
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
Expand Down

0 comments on commit 9f8b124

Please sign in to comment.