Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- instance MonadTrans NixpkgsT where
- lift = NixpkgsT . lift . lift
- instance MonadNixpkgs m => MonadNixpkgs (StateT s m) where
- updateNixpkgs = lift updateNixpkgs
- nixpkgsState = lift nixpkgsState
- nixpkgsPath = lift nixpkgsPath
- instance MonadNixpkgs m => MonadNixpkgs (LoggingT m) where
- updateNixpkgs = lift updateNixpkgs
- nixpkgsState = lift nixpkgsState
- nixpkgsPath = lift nixpkgsPath
- instance MonadNixpkgs m => MonadNixpkgs (ReaderT r m) where
- updateNixpkgs = lift updateNixpkgs
- nixpkgsState = lift nixpkgsState
- nixpkgsPath = lift nixpkgsPath
Add Comment
Please, Sign In to add comment