Matthias Beyer
97583c6c54
The transitive dependency "onig_sys" needs the libclang path set now. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
32 lines
442 B
Nix
32 lines
442 B
Nix
{ pkgs ? (import <nixpkgs> {}) }:
|
|
|
|
let
|
|
env = with pkgs.rustChannels.stable; [
|
|
rust
|
|
cargo
|
|
];
|
|
|
|
dependencies = with pkgs; [
|
|
cmake
|
|
curl
|
|
gcc
|
|
libpsl
|
|
openssl
|
|
pkgconfig
|
|
which
|
|
zlib
|
|
dbus
|
|
libtool
|
|
];
|
|
in
|
|
|
|
pkgs.stdenv.mkDerivation rec {
|
|
name = "imag";
|
|
src = /var/empty;
|
|
version = "0.0.0";
|
|
|
|
buildInputs = env ++ dependencies;
|
|
|
|
LIBCLANG_PATH="${pkgs.llvmPackages.libclang}/lib";
|
|
}
|
|
|