File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
pkgs/by-name/st/stalwart-mail Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1818 stalwartEnterprise ? false ,
1919} :
2020
21- rustPlatform . buildRustPackage rec {
21+ rustPlatform . buildRustPackage ( finalAttrs : {
2222 pname = "stalwart-mail" + ( lib . optionalString stalwartEnterprise "-enterprise" ) ;
2323 version = "0.11.8" ;
2424
2525 src = fetchFromGitHub {
2626 owner = "stalwartlabs" ;
2727 repo = "mail-server" ;
28- tag = "v${ version } " ;
28+ tag = "v${ finalAttrs . version } " ;
2929 hash = "sha256-VqGosbSQxNeOS+kGtvXAmz6vyz5mJlXvKZM57B1Xue4=" ;
3030 } ;
3131
@@ -147,6 +147,9 @@ rustPlatform.buildRustPackage rec {
147147
148148 doCheck = ! ( stdenv . hostPlatform . isLinux && stdenv . hostPlatform . isAarch64 ) ;
149149
150+ # Allow network access during tests on Darwin/macOS
151+ __darwinAllowLocalNetworking = true ;
152+
150153 passthru = {
151154 inherit rocksdb ; # make used rocksdb version available (e.g., for backup scripts)
152155 webadmin = callPackage ./webadmin.nix { } ;
@@ -176,4 +179,4 @@ rustPlatform.buildRustPackage rec {
176179 pandapip1
177180 ] ;
178181 } ;
179- }
182+ } )
You can’t perform that action at this time.
0 commit comments