From 4e50809c78c1d3241c063987292960e7173f8573 Mon Sep 17 00:00:00 2001 From: Wael Nasreddine Date: Fri, 21 Feb 2020 12:34:25 -0800 Subject: [PATCH] modules: remove unused checkPlatform function PR #1041 --- modules/modules.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/modules.nix b/modules/modules.nix index 64418dba..8608a5e6 100644 --- a/modules/modules.nix +++ b/modules/modules.nix @@ -13,8 +13,6 @@ let hostPlatform = pkgs.stdenv.hostPlatform; - checkPlatform = any (meta.platformMatch pkgs.stdenv.hostPlatform); - loadModule = file: { condition ? true }: { inherit file condition; };