1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01: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;
};