summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Biz/Bild/Rules.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/Biz/Bild/Rules.nix b/Biz/Bild/Rules.nix
index fcdf025..51fcb14 100644
--- a/Biz/Bild/Rules.nix
+++ b/Biz/Bild/Rules.nix
@@ -10,7 +10,10 @@ let
root = builtins.getEnv "BIZ_ROOT";
# general functions to put in a lib
- lines = s: lib.strings.splitString "\n" s;
+ lines = s: lib.pipe s [
+ (builtins.split "\n")
+ (builtins.filter (x: builtins.typeOf x == "string"))
+ ];
removeNull = ls: builtins.filter (x: x != null) ls;
selectAttrs = deps: packageSet: