diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-06-02 02:28:53 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-06-02 02:28:53 +0200 |
commit | 9aa6cf4edb1da4e1bfbf326586e98b30bfc2d121 (patch) | |
tree | 3a6cf52038995fb1f71ebc5e1215263735fa4471 | |
parent | 459b848d672fbf9f6b23e7111f03969ea180af62 (diff) | |
download | nixos-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.nix | 2 |
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 |