We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ca9118 commit b509fabCopy full SHA for b509fab
.github/workflows/haskell-nix.yml
@@ -25,14 +25,4 @@ jobs:
25
26
- name: Build and test
27
run: |
28
- nix develop --command bash -c '
29
- # hsc2hs-generated test binaries crash in nix shells on Linux
30
- # ("stack smashing detected") due to hardening flags.
31
- # Replace hsc2hs with a wrapper that adds --cross-compile to
32
- # avoid running those binaries entirely.
33
- real=$(which hsc2hs)
34
- mkdir -p /tmp/bin
35
- printf "#!/bin/sh\nexec %s --cross-compile \"\$@\"\n" "$real" > /tmp/bin/hsc2hs
36
- chmod +x /tmp/bin/hsc2hs
37
- CABAL_CONFIGURE_FLAGS="--with-hsc2hs=/tmp/bin/hsc2hs" make ci
38
- '
+ nix develop --command make ci
0 commit comments