Update default.nix

This commit is contained in:
iko 2022-06-27 12:58:45 +03:00 committed by GitHub
parent 7a2e50d588
commit 36723ed6c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);