···2727}:
28282929let
3030- version = "1.20.1";
3030+ version = "1.20.2";
31313232 # build stimuli file for PGO build and the script to generate it
3333 # independently of the foot's build, so we can cache the result
···104104 owner = "dnkl";
105105 repo = "foot";
106106 rev = version;
107107- hash = "sha256-0tnB6fCZEUAlQ3iPxXXlJ5EXPMeWSNIHsIWV4d3cuKM=";
107107+ hash = "sha256-tnBoRRKHcuvBSnqvJ/772UWuepvpUiSg6t+gx4MZ0VQ=";
108108 };
109109110110 separateDebugInfo = true;
···44 fetchFromGitHub,
55 cmake,
66 llvmPackages,
77+ xcbuild,
78 targetPackages,
89 libxml2,
910 zlib,
···30313132 patches = args.patches or [ ];
32333333- nativeBuildInputs = [
3434- cmake
3535- (lib.getDev llvmPackages.llvm.dev)
3636- ];
3434+ nativeBuildInputs =
3535+ [
3636+ cmake
3737+ (lib.getDev llvmPackages.llvm.dev)
3838+ ]
3939+ ++ lib.optionals stdenv.hostPlatform.isDarwin [
4040+ # provides xcode-select, which is required for SDK detection
4141+ xcbuild
4242+ ];
37433844 buildInputs =
3945 [
···8187 # Zig's build looks at /usr/bin/env to find dynamic linking info. This doesn't
8288 # work in Nix's sandbox. Use env from our coreutils instead.
8389 postPatch =
8484- if lib.versionAtLeast finalAttrs.version "0.12" then
8585- ''
8686- substituteInPlace lib/std/zig/system.zig \
8787- --replace-fail "/usr/bin/env" "${coreutils}/bin/env"
8888- ''
8989- else
9090- ''
9191- substituteInPlace lib/std/zig/system/NativeTargetInfo.zig \
9292- --replace-fail "/usr/bin/env" "${coreutils}/bin/env"
9393- '';
9090+ let
9191+ zigSystemPath =
9292+ if lib.versionAtLeast finalAttrs.version "0.12" then
9393+ "lib/std/zig/system.zig"
9494+ else
9595+ "lib/std/zig/system/NativeTargetInfo.zig";
9696+ in
9797+ ''
9898+ substituteInPlace ${zigSystemPath} \
9999+ --replace-fail "/usr/bin/env" "${lib.getExe' coreutils "env"}"
100100+ ''
101101+ # Zig tries to access xcrun and xcode-select at the absolute system path to query the macOS SDK
102102+ # location, which does not work in the darwin sandbox.
103103+ # Upstream issue: https://github.com/ziglang/zig/issues/22600
104104+ # Note that while this fix is already merged upstream and will be included in 0.14+,
105105+ # we can't fetchpatch the upstream commit as it won't cleanly apply on older versions,
106106+ # so we substitute the paths instead.
107107+ + lib.optionalString (stdenv.hostPlatform.isDarwin && lib.versionOlder finalAttrs.version "0.14") ''
108108+ substituteInPlace lib/std/zig/system/darwin.zig \
109109+ --replace-fail /usr/bin/xcrun xcrun \
110110+ --replace-fail /usr/bin/xcode-select xcode-select
111111+ '';
9411295113 postBuild =
96114 if lib.versionAtLeast finalAttrs.version "0.13" then
+7-1
pkgs/development/compilers/zig/hook.nix
···22 lib,
33 makeSetupHook,
44 zig,
55+ stdenv,
66+ xcbuild,
57}:
6879makeSetupHook {
810 name = "zig-hook";
9111010- propagatedBuildInputs = [ zig ];
1212+ propagatedBuildInputs =
1313+ [ zig ]
1414+ # while xcrun is already included in the darwin stdenv, Zig also needs
1515+ # xcode-select (provided by xcbuild) for SDK detection
1616+ ++ lib.optionals stdenv.hostPlatform.isDarwin [ xcbuild ];
11171218 substitutions = {
1319 # This zig_default_flags below is meant to avoid CPU feature impurity in
+4-1
pkgs/development/libraries/tpm2-tss/default.nix
···147147148148 doCheck = false;
149149 doInstallCheck =
150150- stdenv.buildPlatform.canExecute stdenv.hostPlatform && !stdenv.hostPlatform.isDarwin;
150150+ stdenv.buildPlatform.canExecute stdenv.hostPlatform
151151+ && !stdenv.hostPlatform.isDarwin
152152+ # Tests rely on mocking, which can't work with static libs.
153153+ && !stdenv.hostPlatform.isStatic;
151154 # Since we rewrote the load path in the dynamic loader for the TCTI
152155 # The various tcti implementation should be placed in their target directory
153156 # before we could run tests, so we make turn checkPhase into installCheckPhase
···88 # the frontend version corresponding to a specific home-assistant version can be found here
99 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
1010 pname = "home-assistant-frontend";
1111- version = "20250109.2";
1111+ version = "20250205.0";
1212 format = "wheel";
13131414 src = fetchPypi {
···1616 pname = "home_assistant_frontend";
1717 dist = "py3";
1818 python = "py3";
1919- hash = "sha256-jE8+QzYUftQFuGgJuvFYIzZ9DsEFoNpPS94Wjmk73Ss=";
1919+ hash = "sha256-9P2OqnPNPydBi4k9iN0hSyGTyBW4PohdgJwQqa8MlYg=";
2020 };
21212222 # there is nothing to strip in this package