chore(flake): pass pkgs via attributes parameter

This commit is contained in:
Guz
2025-08-11 19:16:54 -03:00
parent eb6097ed46
commit 96f62468b0

View File

@@ -14,9 +14,12 @@
nixpkgs.lib.genAttrs systems (system: let nixpkgs.lib.genAttrs systems (system: let
pkgs = import nixpkgs {inherit system;}; pkgs = import nixpkgs {inherit system;};
in in
f system pkgs); f {
inherit (pkgs) lib stdenv;
inherit pkgs;
});
in { in {
devShells = forAllSystems (system: pkgs: { devShells = forAllSystems ({pkgs, ...}: {
default = pkgs.mkShell { default = pkgs.mkShell {
CGO_ENABLED = "0"; CGO_ENABLED = "0";
hardeningDisable = ["all"]; hardeningDisable = ["all"];