1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-23 15:08:31 +02:00

modules: remove unused checkPlatform function

PR #1041
This commit is contained in:
Wael Nasreddine 2020-02-21 12:34:25 -08:00 committed by Robert Helgesson
parent 7f748f27bc
commit 4e50809c78
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -13,8 +13,6 @@ let
hostPlatform = pkgs.stdenv.hostPlatform;
checkPlatform = any (meta.platformMatch pkgs.stdenv.hostPlatform);
loadModule = file: { condition ? true }: {
inherit file condition;
};