mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-05 04:44:12 +03:00
11 lines
402 B
Nix
11 lines
402 B
Nix
{ nixpkgs ? import <nixpkgs> {}
|
|
, profiling ? false
|
|
, doBenchmark ? false
|
|
, doCheck ? false
|
|
}:
|
|
with nixpkgs;
|
|
(callPackage ./default.nix { inherit profiling doBenchmark doCheck; }).env.overrideAttrs (o: {
|
|
buildInputs = with pkgs; o.buildInputs ++ [ haskellPackages.cabal-install clang gdb ]
|
|
++ stdenv.lib.optionals stdenv.isLinux [ flamegraph linuxPackages.perf tinycc zig ];
|
|
})
|