Skip to content

Commit

Permalink
Fix an unnecessary context on introduceNixEnvironment*
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Nov 27, 2024
1 parent d355521 commit 295f1ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sandwich-contexts/lib/Test/Sandwich/Contexts/Nix.hs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ introduceNixContext'' nodeOptions nixpkgsDerivation = introduce' nodeOptions "In
-- These packages are mashed together using the Nix @symlinkJoin@ function. Their binaries will generally
-- be found in "\<environment path\>\/bin".
introduceNixEnvironment :: (
HasBaseContextMonad context m, HasNixContext context
HasBaseContext context, HasNixContext context
, MonadUnliftIO m
)
-- | List of package names to include in the Nix environment
Expand All @@ -222,7 +222,7 @@ introduceNixEnvironment = introduceNixEnvironment' (defaultNodeOptions { nodeOpt

-- | Same as 'introduceNixEnvironment', but allows passing custom 'NodeOptions'.
introduceNixEnvironment' :: (
HasBaseContextMonad context m, HasNixContext context
HasBaseContext context, HasNixContext context
, MonadUnliftIO m
)
-- | Custom 'NodeOptions'
Expand Down

0 comments on commit 295f1ef

Please sign in to comment.