From 2cb892f7a8a6a6c2e54ac9f810239b71b9377303 Mon Sep 17 00:00:00 2001 From: zgrep Date: Sat, 21 Jul 2018 10:51:16 -0400 Subject: [PATCH] I should think of better commit messages. --- default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.nix b/default.nix index 3f43fbb..8262310 100644 --- a/default.nix +++ b/default.nix @@ -2,7 +2,7 @@ let inherit (pkgs) callPackage; inherit (pkgs.lib) filterAttrs mapAttrs; - inherit (builtins) substring readDir; + inherit (builtins) substring readDir toString; here = ./.; @@ -10,5 +10,5 @@ let type == "directory" && (substring 0 1 name) != "." ) (readDir here); in mapAttrs (name: type: - callPackage (here/name) {} + callPackage ((toString here) + "/" + (toString name)) {} ) want