This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

ci: use nix dev shell

+16 -12
+6 -2
.github/workflows/ci.yml
··· 9 9 steps: 10 10 - uses: actions/checkout@v4 11 11 - uses: DeterminateSystems/nix-installer-action@main 12 + with: 13 + extra-conf: accept-flake-config = true 12 14 - uses: DeterminateSystems/magic-nix-cache-action@main 13 15 - name: List packages 14 16 id: list 15 17 run: | 18 + eval "$(nix print-dev-env .#ci)" 16 19 matrix="$(nix eval .#checks.x86_64-linux --json --apply builtins.attrNames)" 17 20 echo "matrix=$matrix" >> "$GITHUB_OUTPUT" 18 21 ··· 27 30 steps: 28 31 - uses: actions/checkout@v4 29 32 - uses: DeterminateSystems/nix-installer-action@main 33 + with: 34 + extra-conf: accept-flake-config = true 30 35 - uses: DeterminateSystems/magic-nix-cache-action@main 31 36 - name: Build 32 - shell: nix shell nixpkgs#attic-client nixpkgs#nix-fast-build --command bash {0} 33 37 run: | 38 + eval "$(nix print-dev-env .#ci)" 34 39 attic login --set-default tombl https://nix.tombl.net '${{secrets.ATTIC_TOKEN}}' 35 - attic use linuxwasm 36 40 nix-fast-build --skip-cached --no-nom --flake '.#checks.x86_64-linux.${{ matrix.pkg }}^*' --attic-cache=linuxwasm
+10 -10
flake/shell.nix
··· 2 2 { 3 3 imports = [ inputs.make-shell.flakeModules.default ]; 4 4 5 - # perSystem = 6 - # { pkgs, ... }: 7 - # { 8 - # make-shells.default = { 9 - # packages = with pkgs; [ 10 - # # keep-sorted start 11 - # # keep-sorted end 12 - # ]; 13 - # }; 14 - # }; 5 + perSystem = 6 + { pkgs, ... }: 7 + { 8 + make-shells.ci = { 9 + packages = with pkgs; [ 10 + attic-client 11 + nix-fast-build 12 + ]; 13 + }; 14 + }; 15 15 }