diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-11-29 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-12-06 19:26:14 +0100 |
commit | df6a7e941ab26bb30688643694f469e5450c5835 (patch) | |
tree | 1d386330f53de6c76b0f0bc02d839b1e8e8e8312 /pkgs/applications/blockchains/snarkos | |
parent | 93706c0f1ad4f793f99327a45b7435e1c6cbc18b (diff) | |
download | nixlib-df6a7e941ab26bb30688643694f469e5450c5835.tar nixlib-df6a7e941ab26bb30688643694f469e5450c5835.tar.gz nixlib-df6a7e941ab26bb30688643694f469e5450c5835.tar.bz2 nixlib-df6a7e941ab26bb30688643694f469e5450c5835.tar.lz nixlib-df6a7e941ab26bb30688643694f469e5450c5835.tar.xz nixlib-df6a7e941ab26bb30688643694f469e5450c5835.tar.zst nixlib-df6a7e941ab26bb30688643694f469e5450c5835.zip |
treewide: use bindgenhook where possible
Diffstat (limited to 'pkgs/applications/blockchains/snarkos')
-rw-r--r-- | pkgs/applications/blockchains/snarkos/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/applications/blockchains/snarkos/default.nix b/pkgs/applications/blockchains/snarkos/default.nix index 82c3555f64d6..fe8b24b6ca22 100644 --- a/pkgs/applications/blockchains/snarkos/default.nix +++ b/pkgs/applications/blockchains/snarkos/default.nix @@ -23,15 +23,13 @@ rustPlatform.buildRustPackage rec { # buildAndTestSubdir = "cli"; - nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config llvmPackages.clang ]; + nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config rustPlatform.bindgenHook ]; # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR = 1; OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib"; OPENSSL_DIR="${lib.getDev openssl}"; - LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib"; - # TODO check why rust compilation fails by including the rocksdb from nixpkgs # Used by build.rs in the rocksdb-sys crate. If we don't set these, it would # try to build RocksDB from source. |