Skip to content

Commit bf7afd2

Browse files
committed
Cabal fixes
1 parent 22a02ca commit bf7afd2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Binary.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ run Binary{..} = Just $ withCurrentDirectory path $ withTempDir $ \tdir -> do
3333
let zname = if isWindows then vname ++ "-x86_64-windows.zip"
3434
else if isMac then vname ++ "-x86_64-osx.tar.gz"
3535
else vname ++ "-x86_64-linux.tar.gz"
36+
tdir <- canonicalizePath tdir
3637
b <- withCurrentDirectory tdir $ do
37-
system_ "cabal v2-build --only-dependencies all"
38+
system_ "cabal v2-build --only-dependencies"
3839
system_ "cabal v2-configure --datadir=nul --disable-library-profiling"
3940
system_ "cabal v2-build"
4041
let out = "bin" </> vname

0 commit comments

Comments
 (0)