Skip to content

Commit 97aee49

Browse files
committed
flake: Remove darwin CoreFoundation dev-shell input
The dev-shell failed since the recent nixpkgs updates like so: … while calling the 'derivationStrict' builtin at <nix/derivation-internal.nix>:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| … while evaluating derivation 'nix-shell' whose name attribute is located at /nix/store/9v6qa656sq3xc58vkxslqy646p0ajj61-source/pkgs/stdenv/generic/make-derivation.nix:544:13 … while evaluating attribute '__impureHostDeps' of derivation 'nix-shell' at /nix/store/9v6qa656sq3xc58vkxslqy646p0ajj61-source/pkgs/stdenv/generic/make-derivation.nix:694:15: 693| ); 694| __impureHostDeps = | ^ 695| computedImpureHostDeps (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: darwin.apple_sdk_11_0 has been removed as it was a legacy compatibility stub; see <https://nixos.org/manual/nixpkgs/stable/#sec-darwin-legacy-frameworks> for migration instructions According to the link, the CoreFoundation input has been a stub for a while and we can remove it.
1 parent b0a3d8d commit 97aee49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flake.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@
7171
rust-bin.nightly.latest.rust-analyzer
7272
]
7373
++ (lib.optional (stdenv.isx86_64 && stdenv.isLinux) cargo-tarpaulin)
74-
++ (lib.optional stdenv.isLinux lldb)
75-
++ (lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreFoundation);
74+
++ (lib.optional stdenv.isLinux lldb);
7675
shellHook = ''
7776
export RUST_BACKTRACE="1"
7877
export RUSTFLAGS="''${RUSTFLAGS:-""} ${commonRustFlagsEnv} ${platformRustFlagsEnv}"

0 commit comments

Comments
 (0)