fork/home-manager
git clone https://git.julia.blue/fork/home-manager
5f433eb1
master
1{ lib } : 2 3{ 4assertPlatform = module :pkgs :platforms :{ 5assertion = lib . elem pkgs . stdenv . hostPlatform . system platforms ; 6message = let 7platformsStr = lib . concatStringsSep "\n" 8( map ( p :" - ${ p } " ) ( lib . sort ( a :b :a < b ) platforms )); 9in '' 10The module ${ module } does not support your platform. It only supports 11 12${ platformsStr } '' ; 13}; 14}