Skip to content

Commit 7813dd0

Browse files
committed
Use script to emulate a TTY
1 parent 0d98cf0 commit 7813dd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
runtimeInputs = [
9595
pkgs.cabal-install
9696
pkgs.coreutils
97+
pkgs.util-linux
9798
ghcWithDeps
9899
] ++
99100
runtimeDeps;
@@ -103,7 +104,7 @@
103104
cd "$dir"
104105
cp -r ${devSrc}/. .
105106
chmod -R a+w .
106-
cabal run spec --ghc-option=-Werror -- --strict
107+
script -c "cabal run spec --ghc-option=-Werror -- --strict" /dev/null
107108
'';
108109
});
109110
};

0 commit comments

Comments
 (0)