Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 4, 2024
1 parent 3b4af6d commit a7d6177
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,23 @@ jobs:
- name: NixOS test
if: matrix.system == 'x86_64-linux'
run: |
nix --accept-flake-config run github:juspay/omnix -- \
init .#nixos -o /tmp/nixconfig \
om init .#nixos -o /tmp/nixconfig \
--non-interactive \
--params '{"hostname": "example", "username": "srid", "git-name": "Srid", "git-email": "srid@srid.ca"}'
set -x
nix build /tmp/nixconfig#nixosConfigurations.example.config.system.build.toplevel
ls -lR result/
ls -lR result/etc/
type -f ./result/etc/profiles/per-user/runner/bin/git
- name: nix-darwin test
if: matrix.system == 'aarch64-darwin' || matrix.system == 'x86_64-darwin'
run: |
nix --accept-flake-config run github:juspay/omnix -- \
init .#darwin -o /tmp/nixconfig \
om init .#darwin -o /tmp/nixconfig \
--non-interactive \
--params '{"hostname": "example", "username": "srid", "git-name": "Srid", "git-email": "srid@srid.ca"}'
set -x
nix build /tmp/nixconfig#darwinConfigurations.example.config.system.build.toplevel
ls -lR result/etc/
type -f ./result/etc/profiles/per-user/runner/bin/git
# TODO: Use `om init` like above
Expand Down

0 comments on commit a7d6177

Please sign in to comment.