Skip to content

Commit d541783

Browse files
authored
Update flake.nix
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
1 parent 2c467d9 commit d541783

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

flake.nix

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919

2020
lib = pkgs.lib;
2121
toolchain = fenix.packages.${system}.stable.toolchain;
22-
in
23-
{
22+
in {
2423
default = pkgs.mkShell {
2524
nativeBuildInputs = with pkgs; [
2625
pkg-config
@@ -29,16 +28,13 @@
2928
# test dependencies
3029
solc
3130
vyper
32-
dprint
3331
nodejs
3432
];
33+
buildInputs = lib.optionals pkgs.stdenv.isDarwin
34+
[ pkgs.darwin.apple_sdk.frameworks.AppKit ];
3535

3636
packages = with pkgs; [ rust-analyzer-unwrapped ];
3737

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-
4238
# Environment variables
4339
RUST_SRC_PATH = "${toolchain}/lib/rustlib/src/rust/library";
4440
LD_LIBRARY_PATH = lib.makeLibraryPath [ pkgs.libusb1 ];

0 commit comments

Comments
 (0)