File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 93
93
cacheCompilerDeps = import ./cache-compiler-deps.nix ;
94
94
fetch-source = import ./fetch-source.nix ;
95
95
lazy-inputs = import ../lazy-inputs ;
96
+ rcodesign = import ./rcodesign.nix ;
96
97
} ;
97
98
98
99
composeExtensions = f : g : final : prev :
133
134
cacheCompilerDeps
134
135
fetch-source
135
136
lazy-inputs
137
+ rcodesign
136
138
] ;
137
139
combined = builtins . foldl' composeExtensions ( _ : _ : { } ) ordered ;
138
140
in overlays // { inherit combined ; }
Original file line number Diff line number Diff line change
1
+ # nixpkgs is using `rcodesign` 0.22 and it fails to build on recent
2
+ # versions of macOS (one of the tests fails validating signatures
3
+ # in `/usr/bin`).
4
+ final : prev : {
5
+ rcodesign = prev . rcodesign . override ( old : {
6
+ rustPlatform = old . rustPlatform // {
7
+ buildRustPackage = args : old . rustPlatform . buildRustPackage ( args // {
8
+ version = "0.27.0" ;
9
+
10
+ src = final . fetchFromGitHub {
11
+ owner = "hamishmack" ;
12
+ repo = "apple-platform-rs" ;
13
+ rev = "hkm/cargo-update" ;
14
+ hash = "sha256-gma2e73m2MDC8BAcIuclG/RPLhAHRLkehCa56f5835g=" ;
15
+ } ;
16
+
17
+ cargoHash = "sha256-4ra1oBQK/kXZTKvvq17kX2+49iKyXXT484Z6ON4bFbU=" ;
18
+
19
+ buildInputs = final . lib . optionals final . stdenv . hostPlatform . isDarwin [
20
+ final . darwin . apple_sdk_11_0 . frameworks . Security
21
+ final . darwin . apple_sdk_11_0 . frameworks . SystemConfiguration
22
+ ] ;
23
+
24
+ checkFlags = [
25
+ # Does network IO
26
+ "--skip=ticket_lookup::test::lookup_ticket"
27
+ "--skip=cli_tests"
28
+ ] ;
29
+ } ) ;
30
+ } ;
31
+ } ) ;
32
+ }
You can’t perform that action at this time.
0 commit comments