supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin
squidgy has joined #nix-darwin
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin
<thefloweringash> The reexport wrapper was a way to make a mostly pure libSystem.dylib by proxying to the underlying /usr/lib/libSystem.dylib, see https://github.com/NixOS/nixpkgs/blob/1ac507ba981970c8e864624542e31eb1f4049751/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix#L91-L130
<thefloweringash> tbd definitions are a way to link against text files that describe a shared library without requiring the library. also know as "tapi" or "textual api". This is what apple's sdk uses for linking.
<thefloweringash> as of Big Sur, the .dylib files are not present on disk, so nixpkgs uses a set of tbd files corresponding to macOS 10.12, see https://github.com/NixOS/darwin-stubs and #98541
<{^_^}> https://github.com/NixOS/nixpkgs/pull/98541 (by thefloweringash, 23 weeks ago, merged): darwin (Big Sur): tbd based stdenv
cptrbn has joined #nix-darwin
__monty__ has joined #nix-darwin
cptrbn has quit [Quit: Gooooooood niiiiiiiiiight]
philr has quit [Ping timeout: 260 seconds]
cptrbn has joined #nix-darwin
<__monty__> IIUC nixpkgs provides parts of the Apple SDK but links to libSystem.B.dylib impurely for others?
Mic92 has quit [Quit: WeeChat 3.0.1]
Mic92 has joined #nix-darwin
cptrbn has quit [Quit: Gooooooood niiiiiiiiiight]
simpson has quit [*.net *.split]
ehamberg has joined #nix-darwin
rizary has joined #nix-darwin
angerman has joined #nix-darwin
rizary has quit [*.net *.split]
ehamberg has quit [*.net *.split]
mocker has quit [*.net *.split]
cbarrett has quit [*.net *.split]
angerman has quit [*.net *.split]
mcint has quit [*.net *.split]
mcint has joined #nix-darwin
mocker has joined #nix-darwin
cbarrett has joined #nix-darwin
cbarrett has joined #nix-darwin
cbarrett has quit [Changing host]
mocker has quit [Changing host]
mocker has joined #nix-darwin
cbarrett has joined #nix-darwin
thefloweringash has quit [Ping timeout: 240 seconds]
kloenk has quit [Ping timeout: 258 seconds]
mjlbach has quit [Ping timeout: 265 seconds]
emily has quit [Ping timeout: 265 seconds]
Ericson2314 has quit [Ping timeout: 240 seconds]
tristan[m] has quit [Ping timeout: 240 seconds]
domenkozar[m] has quit [Ping timeout: 258 seconds]
kalbasit[m] has quit [Ping timeout: 240 seconds]
siraben has quit [Ping timeout: 268 seconds]
simpson has joined #nix-darwin
simpson has left #nix-darwin ["WeeChat 1.0.1"]
nicolas[m] has quit [Ping timeout: 268 seconds]
thefloweringash has joined #nix-darwin
kloenk has joined #nix-darwin
mjlbach has joined #nix-darwin
cptrbn has joined #nix-darwin
<__monty__> Hmm, stdenv isn't building on staging for me. Is that to be expected/not out of the ordinary?
emily has joined #nix-darwin
tristan[m] has joined #nix-darwin
Ericson2314 has joined #nix-darwin
domenkozar[m] has joined #nix-darwin
kalbasit[m] has joined #nix-darwin
siraben has joined #nix-darwin
nicolas[m] has joined #nix-darwin
<supersandro2000> do you have sandbox off?
<__monty__> Yes, it wasn't enabled by default when I installed nix and I have yet to see a recommendation to enable it.
<supersandro2000> stdenv can't be build with it on
<__monty__> supersandro2000: Good to know but then that can't be my problem?
<supersandro2000> oh yeah... at least you are not the only one
<supersandro2000> does not build for me either most of the time
<__monty__> Kinda inconvenient when you want to base a stdenv change on staging : )
philr has joined #nix-darwin
joko has joined #nix-darwin
joko has quit [Client Quit]
joko has joined #nix-darwin
bpye has quit [Quit: The Lounge - https://thelounge.chat]
<joko> Hey, I'm using nix flakes and it seems to me that there is an issue evaluating config.system.build.setEnvironment, has anyone else stumbled upon this?
<joko> "getting attributes of path '/usr/lib/libSystem.B.dylib: No such file or directory" is what I'm getting
bpye has joined #nix-darwin
<joko> (but then again maybe it's not an issue with nix flakes, I've just started used nix-darwin)
<__monty__> That sounds like an issue with sandboxing, which flakes enable afaik?
<joko> Hmm, it looks possible. I wonder how NixOS solves this, will have a look there, too
<joko> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/programs/zsh/zsh.nix#L176 shows config.system.build.setEnvironment, so I suppose this is unique to nix-darwin
<__monty__> I wonder why this wouldn't have been noticed before though.
<joko> Most likely I'm doing something wrong :)
<joko> But I'm also using home-manager at the same time, so I guess some settings are not tested a lot
<joko> E.g., nix-darwin on my flake follows nixpkgs/release-20.09, should I really switch to nixpkgs-20.09-darwin?
<joko> Missed this: "Since the installer doesn't work with flakes out of the box yet nix-darwin will need to be to be bootstrapped using the installer or manually."
<joko> The flake did run the installer, but apparently sth was not right
<joko> I've also started using nixpkgs-20.09-darwin just in case...
philr has quit [Ping timeout: 256 seconds]
mog has quit [Ping timeout: 272 seconds]
mog has joined #nix-darwin
philr has joined #nix-darwin
andremedeiros has quit [Read error: Connection reset by peer]
andremedeiros has joined #nix-darwin
bpye2 has joined #nix-darwin
bpye has quit [Ping timeout: 245 seconds]
bpye2 is now known as bpye
__monty__ has quit [Quit: leaving]