File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 1616
1717 commonArgs = {
1818 meta = cloud-hypervisor-meta ;
19-
2019 src = craneLib' . cleanCargoSource cloud-hypervisor-src ;
2120
2221 # Pragmatic release profile with debug-ability and faster
2625 CARGO_PROFILE_RELEASE_OPT_LEVEL = 2 ;
2726 CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS = "true" ;
2827 CARGO_PROFILE_RELEASE_LTO = "no" ;
28+
29+ # Fix build. Reference:
30+ # - https://github.com/sfackler/rust-openssl/issues/1430
31+ # - https://docs.rs/openssl/latest/openssl/
32+ OPENSSL_NO_VENDOR = true ;
2933 } ;
3034
3135 nativeBuildInputs = [
3438 buildInputs = [
3539 openssl
3640 ] ;
37- # Fix build. Reference:
38- # - https://github.com/sfackler/rust-openssl/issues/1430
39- # - https://docs.rs/openssl/latest/openssl/
40- OPENSSL_NO_VENDOR = true ;
4141 } ;
4242
4343 # Downloaded and compiled dependencies.
4444 cargoArtifacts = craneLib' . buildDepsOnly (
4545 commonArgs
4646 // {
47- # "suffix '-deps' will be appended
48- pname = "cloud-hypervisor" ;
4947 doCheck = false ;
5048 }
5149 ) ;
5452 commonArgs
5553 // {
5654 inherit cargoArtifacts ;
57- pname = "cloud-hypervisor" ;
58- # Don't execute tests here. We want this in a dedicated step .
55+ # Don't execute tests here. Too expensive for local development with
56+ # frequent rebuilds + little benefit .
5957 doCheck = false ;
6058 cargoExtraArgs = "--features kvm" ;
6159 }
You can’t perform that action at this time.
0 commit comments