File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 1717 with :
1818 extra_nix_config : |
1919 access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
20- - run : nix build
2120 - run : nix develop -c pytest -s .
22- build-flake :
23- runs-on : ubuntu-latest
24- steps :
25- - uses : actions/checkout@v4
26- - uses : cachix/install-nix-action@v31
27- with :
28- extra_nix_config : |
29- access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
30- - name : List flake structure
31- run : nix flake show
32- - run : nix flake check -vL
Original file line number Diff line number Diff line change 4040 // lib . optionalAttrs ( pkgs . stdenv . isLinux ) {
4141 nixpkgs-review-sandbox = pkgs . callPackage ./. { withSandboxSupport = true ; } ;
4242 } ;
43+
44+ checks =
45+ lib . mapAttrs' ( n : lib . nameValuePair "package-${ n } " ) config . packages
46+ // lib . mapAttrs' ( n : lib . nameValuePair "devShell-${ n } " ) config . devShells ;
47+
4348 devShells = {
4449 default = ( self' . packages . nixpkgs-review-sandbox or self' . packages . nixpkgs-review ) . override {
45- withNom = true ;
50+ withNom = pkgs . hostPlatform . system != "riscv64-linux" ;
4651 } ;
4752 } ;
4853 } ;
You can’t perform that action at this time.
0 commit comments