mirror of
https://github.com/ilyakooo0/ghcjs-optimizer.git
synced 2024-11-22 09:59:30 +03:00
Update default.nix
This commit is contained in:
parent
7a2e50d588
commit
36723ed6c0
@ -16,7 +16,7 @@ let
|
||||
flattenDirAttrSet = name: x:
|
||||
if builtins.isAttrs x
|
||||
then (flattenDirAttrSet' "" x)
|
||||
else builtins.hrow "${name} should be an attribute set.";
|
||||
else builtins.throw "${name} should be an attribute set.";
|
||||
|
||||
|
||||
flattenFileTree = name: x: builtins.map ({ p, v }: p + "/" + v) (flattenDirAttrSet name x);
|
||||
|
Loading…
Reference in New Issue
Block a user