Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/hix/lib/Hix/Ghci.hs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ searchPathArg :: NonEmpty (Path Abs Dir) -> Text
searchPathArg paths =
[exon|-i#{colonSeparated}|]
where
colonSeparated = Text.intercalate ":" (pathText <$> toList paths)
colonSeparated = Text.intercalate ":" (Text.dropWhileEnd (== '/') . pathText <$> toList paths)

ghciCmdline ::
GhciTest ->
Expand Down
2 changes: 1 addition & 1 deletion packages/hix/test/Hix/Test/GhciTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ options =

searchPath :: Text -> [Text] -> Text
searchPath dir subs =
Text.intercalate ":" [[exon|#{dir}packages/#{sub}/|] | sub <- subs]
Text.intercalate ":" [[exon|#{dir}packages/#{sub}|] | sub <- subs]

ghcidTarget ::
Path Abs Dir ->
Expand Down
4 changes: 4 additions & 0 deletions test/internal/hackage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ in {
describe 'Build the integration executable'
step nix build path:$hix_dir#env.integration-exe.integration

describe 'Run the integration executable with --help'
output_ignore
step nix run path:$hix_dir#integration-hackage -- --help

output_ignore
error_ignore
step_develop which cabal
Expand Down
Loading