Commit 2b30ad29c379

Vincent Demeester <vincent@sbr.pm>
2023-12-01 13:38:06
.github: add fake file for mkOutOfStoreSymlink
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 07fac5c
Changed files (1)
.github
.github/workflows/build-systems.yaml
@@ -52,4 +52,10 @@ 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/
-      - run: nix build -L ".#nixosConfigurations.${{ matrix.name }}.config.system.build.toplevel"
+      - 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"