!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1082 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org164 Servers

Load older messages


SenderMessageTime
16 Jul 2025
@reckenrode:matrix.orgRandy EckenrodeIsn’t there some work done on running Nix on Windows?11:02:34
@k900:0upti.meK900Yes, and I believe iohk is at least indirectly funding it11:02:45
@emilazy:matrix.orgemilyit cannot spawn a build and was even less of a thing in early 202411:03:19
@emilazy:matrix.orgemilyI can't see how it would be relevant to this IFD use case. I suspect they copied the make-it-static stuff from something else they had already written11:03:33
@emilazy:matrix.orgemily* I can't see how it would be relevant to this IFD use case. I suspect they copied the make-it-"static" stuff from something else they had already written11:03:39
@k900:0upti.meK900So does anyone want to go figure out why Mesa 25.2 doesn't build on Darwin17:09:45
@k900:0upti.meK900Again17:09:46
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/pull/42584317:09:47
@emilazy:matrix.orgemilydo you have a log?17:57:19
@emilazy:matrix.orgemilyit barely matters at this point though tbh17:57:26
@k900:0upti.meK900Something something linker error libdrm something17:57:58
@k900:0upti.meK900Basically they leaked a libdrm call into it again17:58:08
@emilazy:matrix.orgemilyfun17:58:55
@emilazy:matrix.orgemilynot sure I'll have the cycles today if it involves source diving17:59:04
@k900:0upti.meK900It's going to17:59:11
@k900:0upti.meK900 @Randy Eckenrode standard ping for Vulkan update: https://github.com/NixOS/nixpkgs/pull/425870 18:38:10
@k900:0upti.meK900There's probably a matching moltenvk18:38:15
@reckenrode:matrix.orgRandy Eckenrode Probably. I have the last update in my tree. I can bump to the next version once I have bandwidth. 19:02:58
@philt3r:mozilla.orgphilt3r joined the room.21:45:52
@debtquity:matrix.orgdebtquity

i just did a oopsie wooopsie uwu i made a fucky wucky

did a nix flake update then tried to rebuild. Now my cfg is broken :(

error: builder for '/nix/store/f6hr3mig2cs5z3f47rcll6vvwhqwxg7w-electron-v35.7.1-darwin-arm64.zip.drv' failed with exit code 1;
       last 17 log lines:
       >
       > trying https://github.com/electron/electron/releases/download/v35.7.1/electron-v35.7.1-darwin-arm64.zip
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries
       > Warning: left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > error: cannot download electron-v35.7.1-darwin-arm64.zip from any mirror
       For full logs, run:
         nix log /nix/store/f6hr3mig2cs5z3f47rcll6vvwhqwxg7w-electron-v35.7.1-darwin-arm64.zip.drv
error: 1 dependencies of derivation '/nix/store/bc5f5dwc28i3z7jxha177zcr4q9x5jhp-electron-35.7.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/qnzh92sf1rrhzkmm0nmz0sq820llfnfa-bruno-2.7.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/aqpd1ahszbaapdmzgw4nkyw3z7jk24mn-system-applications.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hmidi4jif1hs8z5a73kjw262l7jrf4in-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/a1a6lamgdsgxac8hkv135rampx3gnaw6-darwin-system-25.11.e04a388.drv' failed to build
error: Recipe `rebuild` failed on line 23 with exit code 1
22:27:27
@debtquity:matrix.orgdebtquitythis just means some upstream dependency has electron defined incorrectly?22:28:06
@emilazy:matrix.orgemilymeans Electron screwed up I think22:29:30
@emilazy:matrix.orgemilyI believe it's being worked on22:29:32
@debtquity:matrix.orgdebtquityyea looks like it, but seems 35.7.1 marked as completely broken on their end, so they are skipping 🙈 https://github.com/electron/electron/issues/47716#issuecomment-307831158322:33:02
@debtquity:matrix.orgdebtquitywell this is a lesson in ... I should commit my config more often :)22:34:17
@debtquity:matrix.orgdebtquityi updated without committing prev lock file22:34:46
17 Jul 2025
@g.d:matrix.orgGrace

ok, so… completely unrelated question: how do I resolve this error?

       > checking for llvm-config... /nix/store/4633qrh7xgiwlkv1n9qwvily3bl9zy7p-llvm-19.1.7-dev/bin/llvm-config
       > checking whether /nix/store/4633qrh7xgiwlkv1n9qwvily3bl9zy7p-llvm-19.1.7-dev/bin/clang can find standard include files... no
       > checking for xcode-select... no
       > configure: error: Cannot find xcode-select
       > configure: error: ./configure failed for interface
       > configure: error: ./configure failed for isl

It seems like the build script is calling ‘clang’ rather than the wrapped ‘cc’, which is causing this line to fail (although I know very little about C or the associated build systems, so I’m not super sure of this).

I saw some mentions of a bug here, but it’s somewhat tied to Bazel so I don’t really understand what’s going on enough to find a workaround.

00:20:18
@g.d:matrix.orgGrace *

How do I resolve this error?

       > checking for llvm-config... /nix/store/4633qrh7xgiwlkv1n9qwvily3bl9zy7p-llvm-19.1.7-dev/bin/llvm-config
       > checking whether /nix/store/4633qrh7xgiwlkv1n9qwvily3bl9zy7p-llvm-19.1.7-dev/bin/clang can find standard include files... no
       > checking for xcode-select... no
       > configure: error: Cannot find xcode-select
       > configure: error: ./configure failed for interface
       > configure: error: ./configure failed for isl

It seems like the build script is calling ‘clang’ rather than the wrapped ‘cc’, which is causing this line to fail (although I know very little about C or the associated build systems, so I’m not super sure of this).

I saw some mentions of a bug here, but it’s somewhat tied to Bazel so I don’t really understand what’s going on enough to find a workaround.

00:20:24
@reckenrode:matrix.orgRandy Eckenrode Add NIX_CFLAGS_COMPILE = "-I${lib.getInclude stdenv.cc.libcxx}/include/c++/v1"; when stdenv.cc.isClang. 00:22:36
@reckenrode:matrix.orgRandy Eckenrode * Add NIX_CFLAGS_COMPILE = "-isystem ${lib.getInclude stdenv.cc.libcxx}/include/c++/v1"; when stdenv.cc.isClang. 00:22:56

Show newer messages


Back to Room ListRoom Version: 6