Skip to content

Commit

Permalink
tweak the ncurses patch
Browse files Browse the repository at this point in the history
  • Loading branch information
robx committed Jun 15, 2022
1 parent 8b35112 commit a6f90eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/patches/static-haskell-nix-ncurses.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index 46d8066..a47f214 100644
"--enable-executable-static" # requires `useFixedCabal`
# `enableShared` seems to be required to avoid `recompile with -fPIC` errors on some packages.
- "--extra-lib-dirs=${final.ncurses.override { enableStatic = true; enableShared = true; }}/lib"
+ "--extra-lib-dirs=${final.ncurses}/lib"
+ "--extra-lib-dirs=${final.ncurses.override { enableStatic = true; }}/lib"
]
# TODO Figure out why this and the below libffi are necessary.
# `working` and `workingStackageExecutables` don't seem to need that,

0 comments on commit a6f90eb

Please sign in to comment.