<iH8c0ff33>
Hi! anyone here could help me with nix on mac os big sur? I've just started using nix (reading the pills now) and I'm getting a linker error while trying to build my derivation (for GNU hello world).
nextloop has quit [Quit: WeeChat 2.1]
<LnL>
initial support was merged, but that will take a bit more time to propagate to master and the channels
<iH8c0ff33>
LnL: Thanks, are you talking about pr #98541? I tried to clone the staging branch of nixpkgs locally and using `-I nixpkgs=<repo_path>` option (is this the correct way?) in nix-build but still get ld error while building the "expand-response-params" derivation, is this normal or a problem with my system?
<LnL>
yeah, caches and trivial builds should work but anything beyond that needs those changes
<LnL>
I'm not sure about the error you're referring to but if you want to try building stuff anyway I'd recommend using da6239dab3d712aa335fd0928c4e64f9599fef73
<iH8c0ff33>
LnL: I'm getting an ld error because `libcache.dylib` is not found, but I was using nixpkgs staging branch. I'll try with the revision you suggested. Thanks
<LnL>
ok that's known, nixpkgs isn't 100% compatible yet but this won't be a problem once basic stuff is available in the cache
<iH8c0ff33>
LnL: Thank you! I switched from staging to staging-next branch and now my build is working.
domenkozar[m] has quit [Ping timeout: 260 seconds]
domenkozar[m] has joined #nix-darwin
<LnL>
hmm why does builin:fetchurl only support xz compression
<emily>
dang, first nix experience being big sur before support hits the channels is truly the deep end
<emily>
a crash course in debugging builds
<antifuchs>
on, interesting; I'm trying to apply my darwin config as a flake and `darwin-rebuild switch --flake './'` says "error: unrecognised flag '--experimental-features'"
<LnL>
you need nixUnstable in order to build flakes
<antifuchs>
so hm, that means it is a two-step process, then? one step to activate the `nix.package` and one to apply the config as a flake?
<antifuchs>
(this does work, though!)
<LnL>
yeah unless you build the system using nixUnstable directly instead of the rebuild wrapper