diff --git a/flake.nix b/flake.nix index 9985d22..38c7446 100644 --- a/flake.nix +++ b/flake.nix @@ -65,9 +65,17 @@ ''; }); - overlays.default = final: prev: { - fetchSteam = final.callPackage ./fetch-steam {}; + overlays.default = final: prev: let + pkgs = pkgsFor final.system; + in rec { + fetchSteam = final.callPackage ./fetch-steam {inherit (pkgs) depotdownloader;}; steamworks-sdk-redist = final.callPackage ./steamworks-sdk-redist {}; }; + + packages = forAllSystems (system: let + pkgs = pkgsFor system; + in rec { + inherit (pkgs) steamworks-sdk-redist; + }); }; }