From 1023e7f85e34fa7697da0068b2709ad4619f73d6 Mon Sep 17 00:00:00 2001 From: olistrik Date: Sun, 14 Apr 2024 19:42:46 +0200 Subject: [PATCH] fix: pin depotdownloader to inputs.nixpkgs --- flake.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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; + }); }; }