From 55dc22661f83d7092774c0a19d06093c43c04f1f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 13 Sep 2016 03:39:48 +0200 Subject: fix scoping --- ymir/factorio.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ymir/factorio.nix b/ymir/factorio.nix index 1931f086..950e87e5 100644 --- a/ymir/factorio.nix +++ b/ymir/factorio.nix @@ -6,7 +6,7 @@ let allOptionalMods = false; }; modPortalDrv = { id, name, version, sha256, deps ? [], optionalDeps ? [], recommendedDeps ? [] }: modDrv { - src = fetchurl { + src = pkgs.fetchurl { url = ''https://mods.factorio.com/api/downloads/data/mods/${id}_${version}.zip''; inherit sha256; }; -- cgit v1.2.3