Skip to content

Commit

Permalink
Fix bool conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Nov 8, 2024
1 parent 0f2ff50 commit ac3cf77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/flake-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
- uses: cachix/install-nix-action@v30

- name: run nix flake check with ${{ matrix.targets.repo }}/${{ matrix.targets.branch }}
if: matrix.targets.repo != 'NuschtOS/nuschtpkgs' && matrix.targets.branch != 'nixos-unstable'
if: (matrix.targets.repo != 'NuschtOS/nuschtpkgs' && matrix.targets.branch != 'nixos-unstable')
run: |
nix flake check \
--override-input nixpkgs github:${{ matrix.targets.repo }}/${{ matrix.targets.branch }}
- name: run nix flake check with flake.lock
if: matrix.targets.repo == 'NuschtOS/nuschtpkgs' && matrix.targets.branch == 'nixos-unstable'
if: (matrix.targets.repo == 'NuschtOS/nuschtpkgs' && matrix.targets.branch == 'nixos-unstable')
run: |
nix flake check
4 changes: 2 additions & 2 deletions .github/workflows/plain-eval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
- uses: cachix/install-nix-action@v30

- name: eval plain config with ${{ matrix.targets.repo }}/${{ matrix.targets.branch }}
if: matrix.targets.repo != 'NuschtOS/nuschtpkgs' && matrix.targets.branch != 'nixos-unstable'
if: (matrix.targets.repo != 'NuschtOS/nuschtpkgs' && matrix.targets.branch != 'nixos-unstable')
run: |
nix eval -L .#checks.x86_64-linux.no-config \
--override-input nixpkgs github:${{ matrix.targets.repo }}/${{ matrix.targets.branch }}
- name: eval plain config with flake.lock
if: matrix.targets.repo == 'NuschtOS/nuschtpkgs' && matrix.targets.branch == 'nixos-unstable'
if: (matrix.targets.repo == 'NuschtOS/nuschtpkgs' && matrix.targets.branch == 'nixos-unstable')
run: |
nix eval -L .#checks.x86_64-linux.no-config

0 comments on commit ac3cf77

Please sign in to comment.