Skip to content

Commit

Permalink
Tidy for review
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Jun 5, 2024
1 parent cf151a5 commit bf80a29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ jobs:
- name: Use GitHub cache
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Run nix app
run: |
echo '${{ toJSON(matrix.packages) }}' | jq -r '.[]' | xargs -I% nix run .#% -- --version
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
Expand All @@ -73,10 +77,6 @@ jobs:
nix flake init -t "github:holochain/holonix/${{ steps.extract_branch.outputs.branch }}#${{ matrix.template }}"
nix develop -c holochain --version
- name: Run nix app
run: |
echo '${{ toJSON(matrix.packages) }}' | jq -r '.[]' | xargs -I% nix run .#% -- --version
# - name: Setup tmate session
# if: failure()
# uses: mxschmitt/action-tmate@v3
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# outputs that this flake should produce
outputs = inputs @ { self, nixpkgs, flake-parts, rust-overlay, crane, ... }:
# refer to flake-parts docs https://flake.parts/
(flake-parts.lib.mkFlake { inherit inputs; } {
flake-parts.lib.mkFlake { inherit inputs; } {
# systems that his flake can be used on
systems = [ "aarch64-darwin" "x86_64-linux" "x86_64-darwin" ];

Expand Down Expand Up @@ -278,7 +278,7 @@
};
};
};
}) // {
} // {
# Add content which is not platform specific after using flake-parts to generate platform specific content.
templates = {
# A template that can be used to create a flake that depends on this flake, with recommended defaults.
Expand Down

0 comments on commit bf80a29

Please sign in to comment.