diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-06-02 02:28:01 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-06-02 02:28:01 +0200 |
commit | 459b848d672fbf9f6b23e7111f03969ea180af62 (patch) | |
tree | dc4fcea62140eb2d8ff733a1ba1e2c72bc998116 | |
parent | dd6f59cb2943f417181bd171a3779194d387c8f8 (diff) | |
download | nixos-459b848d672fbf9f6b23e7111f03969ea180af62.tar nixos-459b848d672fbf9f6b23e7111f03969ea180af62.tar.gz nixos-459b848d672fbf9f6b23e7111f03969ea180af62.tar.bz2 nixos-459b848d672fbf9f6b23e7111f03969ea180af62.tar.xz nixos-459b848d672fbf9f6b23e7111f03969ea180af62.zip |
map
-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 89bd566e..ba64283d 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) . (dir </>) =<< (getDirectoryContents dir)) | 78 | readDir dir = concat <$> (mapM (fmap lines . readFile) . map (dir </>) =<< (getDirectoryContents dir)) |
79 | ''; | 79 | ''; |
80 | buildCommand = '' | 80 | buildCommand = '' |
81 | mkdir -p $out/bin | 81 | mkdir -p $out/bin |