Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(CI): update nixci #3

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }})
Loading