Skip to content

Commit b509fab

Browse files
committed
fm
1 parent 9ca9118 commit b509fab

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/haskell-nix.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,4 @@ jobs:
2525

2626
- name: Build and test
2727
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-
'
28+
nix develop --command make ci

0 commit comments

Comments
 (0)