Guest User

Untitled

a guest
Jul 15th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. instance MonadTrans NixpkgsT where
  2. lift = NixpkgsT . lift . lift
  3.  
  4. instance MonadNixpkgs m => MonadNixpkgs (StateT s m) where
  5. updateNixpkgs = lift updateNixpkgs
  6. nixpkgsState = lift nixpkgsState
  7. nixpkgsPath = lift nixpkgsPath
  8.  
  9. instance MonadNixpkgs m => MonadNixpkgs (LoggingT m) where
  10. updateNixpkgs = lift updateNixpkgs
  11. nixpkgsState = lift nixpkgsState
  12. nixpkgsPath = lift nixpkgsPath
  13.  
  14. instance MonadNixpkgs m => MonadNixpkgs (ReaderT r m) where
  15. updateNixpkgs = lift updateNixpkgs
  16. nixpkgsState = lift nixpkgsState
  17. nixpkgsPath = lift nixpkgsPath
Add Comment
Please, Sign In to add comment