Use coreutils from nixpkgs rather than from PATH
Before this change, combinators that call `add-runtime` were assuming coreutils were available, however `add-runtime` did not inject coreutils as a runtime input. This also removes forwarding $PATH in the tests which should catch any issues like this in the future. Thanks Epsylon for the report: https://lists.sr.ht/~alexdavid/general/%3C331f3203-d6bf-4c53-824c-4d05088ec47e@gmail.com%3E
This commit is contained in:
parent
22ec74b9d1
commit
61b0a147af
2 changed files with 7 additions and 2 deletions
|
|
@ -73,7 +73,6 @@ inTestM = aroundWith $ \action () -> do
|
|||
(\(name, getVal) -> ((name,) <$>) <$> getVal)
|
||||
[ ("HOME", lookupEnv "HOME"),
|
||||
("LANG", pure $ Just "en_US.UTF-8"),
|
||||
("PATH", lookupEnv "PATH"),
|
||||
("DBUS_SESSION_BUS_ADDRESS", lookupEnv "DBUS_SESSION_BUS_ADDRESS"),
|
||||
("XDG_RUNTIME_DIR", lookupEnv "XDG_RUNTIME_DIR")
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue