summaryrefslogtreecommitdiff
path: root/ymir
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-06-02 02:27:22 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-06-02 02:27:22 +0200
commitdd6f59cb2943f417181bd171a3779194d387c8f8 (patch)
treedf63f5c862892b5c8ebce1ae24e07f22e74a7c75 /ymir
parent63d07ed055ec4cb92aff1cac666288720d52d65f (diff)
downloadnixos-dd6f59cb2943f417181bd171a3779194d387c8f8.tar
nixos-dd6f59cb2943f417181bd171a3779194d387c8f8.tar.gz
nixos-dd6f59cb2943f417181bd171a3779194d387c8f8.tar.bz2
nixos-dd6f59cb2943f417181bd171a3779194d387c8f8.tar.xz
nixos-dd6f59cb2943f417181bd171a3779194d387c8f8.zip
relative paths
Diffstat (limited to 'ymir')
-rw-r--r--ymir/mlmmj-expose.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ymir/mlmmj-expose.nix b/ymir/mlmmj-expose.nix
index 3481308d..89bd566e 100644
--- a/ymir/mlmmj-expose.nix
+++ b/ymir/mlmmj-expose.nix
@@ -75,7 +75,7 @@ let
75 getSubscribers :: IO [String] 75 getSubscribers :: IO [String]
76 getSubscribers = map (map toLower) . concat <$> mapM (flip catchIOError (\e -> if isDoesNotExistError e then return [] else ioError e) . readDir) ["subscribers.d", "digesters.d"] 76 getSubscribers = map (map toLower) . concat <$> mapM (flip catchIOError (\e -> if isDoesNotExistError e then return [] else ioError e) . readDir) ["subscribers.d", "digesters.d"]
77 where 77 where
78 readDir dir = concat <$> (mapM (fmap lines . readFile) =<< (getDirectoryContents dir)) 78 readDir dir = concat <$> (mapM (fmap lines . readFile) . (dir </>) =<< (getDirectoryContents dir))
79 ''; 79 '';
80 buildCommand = '' 80 buildCommand = ''
81 mkdir -p $out/bin 81 mkdir -p $out/bin