diff --git a/builtinModules/builtinOverlay.nix b/builtinModules/builtinOverlay.nix index 7c73a32..1727bb7 100644 --- a/builtinModules/builtinOverlay.nix +++ b/builtinModules/builtinOverlay.nix @@ -22,7 +22,7 @@ in config.withOverlays = mkOrder 10 (final: prev: let - system = prev.stdenv.hostPlatform.system; + inherit (prev.stdenv.hostPlatform) system; in { inherit src inputs outputs flakelight system; diff --git a/flake.nix b/flake.nix index 1a71d6b..b12df76 100644 --- a/flake.nix +++ b/flake.nix @@ -9,5 +9,6 @@ flakelight ./. { outputs = flakelight; templates = import ./templates; + checks.statix = pkgs: "${pkgs.statix}/bin/statix check"; }; }