Skip to content

Commit

Permalink
use rocksdb from nixpkgs optionals
Browse files Browse the repository at this point in the history
  • Loading branch information
macalinao committed Mar 9, 2024
1 parent 93187f3 commit e33204b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/solana/solana.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ rustPlatform.buildRustPackage rec {
openssl
rustPlatform.bindgenHook
zlib
rocksdb
libclang
]
++ lib.optionals stdenv.isLinux [ udev ]
Expand All @@ -97,7 +96,8 @@ rustPlatform.buildRustPackage rec {
AppKit
System
Libsystem
];
]
++ lib.optionals useRocksDBFromNixpkgs [ rocksdb ];
strictDeps = true;

postInstall = ''
Expand Down

0 comments on commit e33204b

Please sign in to comment.