home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit b75a13c6c8e565fe94c03c4cb5453442d25285bb
parent 7df87875f8c6de0baecbe30a40353a73644146b8
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 22 Feb 2024 12:53:25 +0100

Update the workflow to use system aarch64-linux for some hosts

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
M.github/workflows/build-systems.yaml | 13+++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build-systems.yaml b/.github/workflows/build-systems.yaml @@ -58,13 +58,18 @@ jobs: extra_nix_config: | trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= substituters = https://hydra.iohk.io https://cache.nixos.org/ - - uses: dbhi/qus/action@main - with: - targets: aarch64 + # - uses: dbhi/qus/action@main + # with: + # targets: aarch64 - run: | # FIXME temporary hack to make system build successfully # I need to create dumb file for mkOutOfStoreSymlink sudo mkdir -p /home/vincent/src/home/tools/emacs /home/vincent/desktop/documents sudo touch /home/vincent/desktop/documents/.oath # build the system - nix build -L ".#nixosConfigurations.${{ matrix.name }}.config.system.build.toplevel" + # FIXME: move this away from this somehow + BUILD_ARGS="" + if [[ "${{ matrix.name }}" == "demeter" || "${{ matrix.name }}" == "athena" ]]; then + BUILD_ARGS="${BUILD_ARGS} --option system aarch64-linux" + fi + nix build ${BUILD_ARGS} -L ".#nixosConfigurations.${{ matrix.name }}.config.system.build.toplevel"