Skip to content

Commit

Permalink
Fix --program-suffix resulting in invalid symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
wismill committed May 25, 2024
1 parent a6b99b8 commit 0e47036
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cabal-install/src/Distribution/Client/CmdInstall.hs
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,9 @@ installAction flags@NixStyleFlags{extraFlags, configFlags, installFlags, project
-- BuildOutcomes because we also need the component names
traverseInstall (installCheckUnitExes InstallCheckInstall) installCfg
where
configFlags' = disableTestsBenchsByDefault configFlags
-- Filter `configProgSuffix` out, in order to get the canonical executable
-- in the store.
configFlags' = (disableTestsBenchsByDefault configFlags){configProgSuffix = NoFlag}
verbosity = fromFlagOrDefault normal (setupVerbosity $ configCommonFlags configFlags')
ignoreProject = flagIgnoreProject projectFlags
cliConfig =
Expand Down
4 changes: 4 additions & 0 deletions changelog.d/issue-9919
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
synopsis: Fix --program-suffix resulting in invalid symlink
packages: cabal-install
issues: #9919
prs: #10056

0 comments on commit 0e47036

Please sign in to comment.