This repository was archived by the owner on Jan 5, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 pname = subnet-cargo-toml . package . name ;
6363 version = subnet-cargo-toml . package . version ;
6464
65- env = { LIBCLANG_PATH = "${ libclang . lib } /lib" ; }
66- // ( lib . optionalAttrs ( stdenv . cc . isClang && stdenv . isDarwin ) { NIX_LDFLAGS = "-l${ stdenv . cc . libcxx . cxxabi . libName } " ; } ) ;
67-
65+ env = { LIBCLANG_PATH = "${ libclang . lib } /lib" ; NIX_LDFLAGS = "-l${ stdenv . cc . libcxx . cxxabi . libName } " ; } ;
66+
6867 src = ./. ;
6968 cargoLock = {
7069 lockFile = ./Cargo.lock ;
8079 } ;
8180
8281 devShells . default = mkShell {
83- NIX_LDFLAGS = "-l${ stdenv . cc . libcxx . cxxabi . libName } " ;
8482 buildInputs = developmentDependencies ;
8583 shellHook = ''
84+ export NIX_LDFLAGS="-l${ stdenv . cc . libcxx . cxxabi . libName } "
8685 export PATH=$PATH:${ avalanche-network-runner } /bin
8786 export LIBCLANG_PATH="${ pkgs . libclang . lib } /lib"
8887 '' ;
You can’t perform that action at this time.
0 commit comments