Skip to content

Commit

Permalink
fix: use __cr and actually call baseNameOf
Browse files Browse the repository at this point in the history
I assume _cr was a typo. Function calls in lists should be wrapped in
parentheses, lest it be an item of the list and not an expression.
  • Loading branch information
Lord-Valen authored and blaggacao committed Aug 15, 2023
1 parent 004bc29 commit 51ebd70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
options,
...
}: let
cr = cell._cr ++ [baseNameOf src];
cr = cell.__cr ++ [(baseNameOf src)];
file = "${inputs.self.outPath}#${lib.concatStringsSep "/" cr}";
in
lib.setDefaultModuleLocation file (haumea.lib.load {
Expand Down

0 comments on commit 51ebd70

Please sign in to comment.