Skip to content

Commit e3f5eaf

Browse files
Anton-Latukhajwiegley
authored andcommitted
upd texts of messages
1 parent 4758c01 commit e3f5eaf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Nix/Effects/Basic.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ findPathBy finder l name = do
135135
$ "file '"
136136
++ name
137137
++ "' was not found in the Nix search path"
138-
++ " (add it using $NIX_PATH or -I)"
138+
++ " (add it's using $NIX_PATH or -I)"
139139
Just path -> return path
140140
where
141141
go :: Maybe FilePath -> NValue t f m -> m (Maybe FilePath)
@@ -165,7 +165,7 @@ findPathBy finder l name = do
165165
throwError
166166
$ ErrorCall
167167
$ "__nixPath must be a list of attr sets"
168-
++ " with 'path' elements, but saw: "
168+
++ " with 'path' elements, but received: "
169169
++ show s
170170

171171
fetchTarball

src/Nix/Value/Monad.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ class MonadValue v m where
66
defer :: m v -> m v
77
demand :: v -> (v -> m r) -> m r
88
-- | If 'v' is a thunk, 'inform' allows us to modify the action to be
9-
-- peformed by the thunk, perhaps by enriching it with scpoe info, for
9+
-- performed by the thunk, perhaps by enriching it with scope info, for
1010
-- example.
1111
inform :: v -> (m v -> m v) -> m v

0 commit comments

Comments
 (0)