on iko/ghcjs-patch-master help sign in
Update default.nix

Adds comment regarding the `(x or null) != null` check.

commit54086725c5b371042018faf62898783b080ee873 authorMoritz Angermann <moritz.angermann@gmail.com> dateSun 16 Jun 2019, 11:29 (7 years ago) parent4c899bd
1 file changed+1
lib/default.nix+1
lib/default.nix+1
@@ -19,6 +19,7 @@ with haskellLib;
1919 foldComponents = tys: f: z: conf:
2020 let
2121 comps = conf.components or {};
22+ # ensure that comps.library exists and is not null.
2223 libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
2324 subComps = acc:
2425 lib.foldr