summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-06-02 02:28:53 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-06-02 02:28:53 +0200
commit9aa6cf4edb1da4e1bfbf326586e98b30bfc2d121 (patch)
tree3a6cf52038995fb1f71ebc5e1215263735fa4471
parent459b848d672fbf9f6b23e7111f03969ea180af62 (diff)
downloadnixos-9aa6cf4edb1da4e1bfbf326586e98b30bfc2d121.tar
nixos-9aa6cf4edb1da4e1bfbf326586e98b30bfc2d121.tar.gz
nixos-9aa6cf4edb1da4e1bfbf326586e98b30bfc2d121.tar.bz2
nixos-9aa6cf4edb1da4e1bfbf326586e98b30bfc2d121.tar.xz
nixos-9aa6cf4edb1da4e1bfbf326586e98b30bfc2d121.zip
list instead of contents
-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 ba64283d..13f119c0 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) . map (dir </>) =<< (getDirectoryContents dir)) 78 readDir dir = concat <$> (mapM (fmap lines . readFile) . map (dir </>) =<< (listDirectory dir))
79 ''; 79 '';
80 buildCommand = '' 80 buildCommand = ''
81 mkdir -p $out/bin 81 mkdir -p $out/bin