Explorar el Código

flake.nix: expose checks

Someone Serge hace 2 años
padre
commit
356ea17e0f
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      flake.nix

+ 5 - 0
flake.nix

@@ -111,6 +111,11 @@
               // lib.optionalAttrs (system == "x86_64-linux") {
                 rocm = config.legacyPackages.llamaPackagesRocm.llama-cpp;
               };
+
+            # Packages exposed in `.#checks` will be built by the CI and by
+            # `nix flake check`. Currently we expose all packages, but we could
+            # make more granular choices
+            checks = config.packages;
           };
       };
 }