From 517515e8775fbd5ea0dc33bf0c59435b11b7712f Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 12 Aug 2024 03:02:04 +0400 Subject: [PATCH] im losing my mind --- .github/workflows/build.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34f123de..e572540e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,8 +19,9 @@ jobs: # If you chose API tokens for write access OR if you have a private cache authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' # - run: nix run nixpkgs#nixos-rebuild -- --flake .#sakopc build - - run: nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --flake .#nixosConfigurations.sakopc.config.system.build.toplevel - - run: nix-shell --run "echo All done!" + - run: nix profile install nixpkgs#nix-fast-build + - run: nix-fast-build --skip-cached --no-nom --flake .#nixosConfigurations.sakopc.config.system.build.toplevel + - run: nix-shell --run "echo All done!" sakotop: runs-on: ubuntu-latest steps: @@ -37,7 +38,9 @@ jobs: # If you chose API tokens for write access OR if you have a private cache authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' # - run: nix run nixpkgs#nixos-rebuild -- --flake .#sakotop build - - run: nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --flake .#nixosConfigurations.sakotop.config.system.build.toplevel + # - run: nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --flake .#nixosConfigurations.sakotop.config.system.build.toplevel + - run: nix profile install nixpkgs#nix-fast-build + - run: nix-fast-build --skip-cached --no-nom --flake .#nixosConfigurations.sakotop.config.system.build.toplevel - run: nix-shell --run "echo All done!" sakowsl: runs-on: ubuntu-latest @@ -55,5 +58,7 @@ jobs: # If you chose API tokens for write access OR if you have a private cache authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' # - run: nix run nixpkgs#nixos-rebuild -- --flake .#sakowsl build - - run: nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --flake .#nixosConfigurations.sakowsl.config.system.build.toplevel + # - run: nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --flake .#nixosConfigurations.sakowsl.config.system.build.toplevel + - run: nix profile install nixpkgs#nix-fast-build + - run: nix-fast-build --skip-cached --no-nom --flake .#nixosConfigurations.sakowsl.config.system.build.toplevel - run: nix-shell --run "echo All done!"