Skip to content

Commit

Permalink
fix(CI): update nixci
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Apr 24, 2024
1 parent 3cb1aba commit bb6f294
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/actions/common-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ runs:
- name: Install nixci
shell: bash
run: |
nix profile install nixpkgs#nixci
nix profile install github:srid/nixci#nixci
nix profile install nixpkgs#just
3 changes: 0 additions & 3 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,3 @@ jobs:

- name: Run Eval check
run: nix -Lv eval ./local#checks --override-input namaka github:nix-community/namaka

- name: Run templates/nixos
run: nix build ./templates/nixos#nixosConfigurations.nixos.config.system.build.toplevel --dry-run --override-input omnibus ./.
8 changes: 4 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ deadnix:
justfmt:
just --fmt --unstable
exmaples-nvfetcher:
examples-nvfetcher:
nix run .\#scripts.nvfetch-update ./examples/packages/source.toml
template-nixos:
Expand All @@ -40,7 +40,7 @@ local-nixos:
nix build ./local#eval.nixos.expr.nixosConfiguration.config.system.build.toplevel --dry-run --no-link
nixci-examples-packages:
(cd examples && {{ override-omnibus }} .. && nixci && {{ remove-flake-lock }})
(cd examples && {{ override-omnibus }} .. && nixci build && {{ remove-flake-lock }})
examples-simple:
nix flake lock --update-input omnibus ./examples/simple --override-input omnibus ./.
Expand All @@ -59,11 +59,11 @@ examples-system-manager:
nixci-examples-python:
nix flake lock --update-input omnibus ./examples/python --override-input omnibus ./.
(cd examples/python && nixci && git rm flake.lock -f)
(cd examples/python && nixci build && git rm flake.lock -f)
nixci-jupyenv +quarto:
# --execute-daemon-restart
nix flake lock --update-input omnibus ./examples/jupyenv+quarto --override-input omnibus ./.
(cd examples/jupyenv+quarto && nixci && \
(cd examples/jupyenv+quarto && nixci build && \
nix run .#quartoSimple -- render ./quarto \
&& {{ remove-flake-lock }})

0 comments on commit bb6f294

Please sign in to comment.