Skip to content
Permalink
Browse files

Update default.nix

Adds comment regarding the `(x or null) != null` check.
  • Loading branch information...
angerman committed Jun 16, 2019
1 parent 4c899bd commit 54086725c5b371042018faf62898783b080ee873
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/default.nix
@@ -19,6 +19,7 @@ with haskellLib;
foldComponents = tys: f: z: conf:
let
comps = conf.components or {};
# ensure that comps.library exists and is not null.
libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
subComps = acc:
lib.foldr

0 comments on commit 5408672

Please sign in to comment.
You can’t perform that action at this time.