Skip to content

Commit

Permalink
Merge pull request #8 from snoyberg/master
Browse files Browse the repository at this point in the history
Use different Windows NUL device for GHC 8.6.5 #7
  • Loading branch information
snoyberg authored Jul 21, 2019
2 parents 8809d5c + 681e327 commit 56b43aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion silently.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: silently
version: 1.2.5
version: 1.2.5.1
cabal-version: >= 1.8
build-type: Simple
license: BSD3
Expand Down
2 changes: 1 addition & 1 deletion src/System/IO/Silently.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import System.Directory (removeFile,getTemporaryDirectory)

mNullDevice :: Maybe FilePath
#ifdef WINDOWS
mNullDevice = Just "NUL"
mNullDevice = Just "\\\\.\\NUL"
#elif UNIX
mNullDevice = Just "/dev/null"
#else
Expand Down

0 comments on commit 56b43aa

Please sign in to comment.