We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c467d9 commit d541783Copy full SHA for d541783
1 file changed
flake.nix
@@ -19,8 +19,7 @@
19
20
lib = pkgs.lib;
21
toolchain = fenix.packages.${system}.stable.toolchain;
22
- in
23
- {
+ in {
24
default = pkgs.mkShell {
25
nativeBuildInputs = with pkgs; [
26
pkg-config
@@ -29,16 +28,13 @@
29
28
# test dependencies
30
solc
31
vyper
32
- dprint
33
nodejs
34
];
+ buildInputs = lib.optionals pkgs.stdenv.isDarwin
+ [ pkgs.darwin.apple_sdk.frameworks.AppKit ];
35
36
packages = with pkgs; [ rust-analyzer-unwrapped ];
37
38
- # Remove the hardening added by nix to fix jmalloc compilation error.
39
- # More info: https://github.com/tikv/jemallocator/issues/108
40
- hardeningDisable = [ "fortify" ];
41
-
42
# Environment variables
43
RUST_SRC_PATH = "${toolchain}/lib/rustlib/src/rust/library";
44
LD_LIBRARY_PATH = lib.makeLibraryPath [ pkgs.libusb1 ];
0 commit comments