Skip to content

Commit f0b258b

Browse files
committed
linux: fix archiver command
1 parent 0b9534f commit f0b258b

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

default.nix

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{ mkDerivation, base, data-default-class, directory, doctest
2+
, fclabels, hspec, lib, process, shake, split, unordered-containers
3+
}:
4+
mkDerivation {
5+
pname = "shake-language-c";
6+
version = "0.13.1";
7+
src = ./.;
8+
libraryHaskellDepends = [
9+
base data-default-class fclabels process shake split
10+
unordered-containers
11+
];
12+
testHaskellDepends = [ base directory doctest hspec shake ];
13+
doHaddock = false;
14+
doCheck = false;
15+
homepage = "https://github.com/samplecount/shake-language-c";
16+
description = "Utilities for cross-compiling with Shake";
17+
license = lib.licenses.asl20;
18+
}

shake-language-c.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
-- limitations under the License.
1414

1515
Name: shake-language-c
16-
Version: 0.13.0
16+
Version: 0.13.1
1717
Synopsis: Utilities for cross-compiling with Shake
1818
Description: This library provides <http://hackage.haskell.org/package/shake Shake> utilities for cross-compiling @C@, @C++@ and @ObjC@ code for various target platforms. Currently supported target platforms are Android, iOS, Linux, MacOS X, Windows\/MinGW and Google Portable Native Client (PNaCl). Supported host platforms are MacOS X, Linux and Windows.
1919
Category: Development

src/Development/Shake/Language/C/Target/Linux.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ toolChain LLVM =
6161
set variant LLVM
6262
$ set compilerCommand "clang"
6363
$ set archiverCommand "ar"
64+
$ set archiver platformArchiver
6465
$ set linkerCommand "clang++"
6566
$ defaultToolChain
6667
toolChain Generic = toolChain GCC

0 commit comments

Comments
 (0)