From a20a0ca9a7f99be65675fc20155eb2c95d9fdd48 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 19 Jan 2023 10:20:22 +0100 Subject: ... --- overlays/smartprom/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'overlays/smartprom') diff --git a/overlays/smartprom/default.nix b/overlays/smartprom/default.nix index 0dd0771b..e8593218 100644 --- a/overlays/smartprom/default.nix +++ b/overlays/smartprom/default.nix @@ -1,6 +1,8 @@ { final, prev, flakeInputs, sources, ... }: -{ - smartprom = flakeInputs.mach-nix.lib.${final.system}.buildPythonPackage rec { +let + inherit (final.stdenv.targetPlatform) system; +in { + smartprom = flakeInputs.mach-nix.lib.${system}.buildPythonPackage rec { inherit (sources.smartprom) src pname version; ignoreDataOutdated = true; -- cgit v1.2.3