butterthebuddha has joined #nix-darwin
butterthebuddha has quit [Quit: Textual IRC Client: www.textualapp.com]
Chiliparrot has joined #nix-darwin
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nix-darwin
dtz has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
aterius has quit [Quit: killed]
__monty__ has joined #nix-darwin
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dtz has joined #nix-darwin
thefloweringash has joined #nix-darwin
kaychaks[m] has joined #nix-darwin
aterius has joined #nix-darwin
Ericson2314 has joined #nix-darwin
jonge[m] has joined #nix-darwin
Chiliparrot has joined #nix-darwin
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nix-darwin
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Chiliparrot has joined #nix-darwin
<evelyn> Is there a way to make nix place the simlinks to GUI applications in /Applications?
<clever> evelyn: sounds like a job for nix-darwin
<__monty__> LnL: I'm trying to test your patch for mpv. You were right about the evaluation (was importing the entire nixpkgs repo >.<). I get "undefined variable MediaPlayer" is this because the rest of my nixpkgs is too old?
<LnL> hmm
<LnL> evelyn: nix-darwin links to ~/Applications but it should probably link globally
<__monty__> LnL: I see the change in frameworks.nix but I'm a bit lost as to how to overlay that. Is there an "apple-sdk" attribute I can overlay with the one from the repo or something?
<LnL> there's no easy way to add that, but overriding it with darwin.apple_sdk.sdk as a workaround might work
<__monty__> Added `darwin.apple_sdk.sdk = callPackage ~/src/nixpkgs/.../apple-sdk/default.nix {};` but now there's another attribute missing "CF". Should I give up on this particular rabbit hole?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<LnL> no I meant MediaPlayer = darwin.apple_sdk.sdk;
<__monty__> In the mpv expression?
<LnL> depends how you're applying this exactly
<__monty__> This is the overlay I'm trying to use: http://ix.io/2b1f (sans quotes around the argument to callPackage)
<LnL> yaeh, this is why things shouldn't reference darwin.* directly
<LnL> you have to add something like darwin = super.darwin // { apple_sdk = super.darwin.apple_sdk // { frameworks = super.darwin.apple_sdk.frameworks // { MediaPlayer = super.darwin.apple_sdk.sdk; }; }; }; next to swift
<__monty__> LnL: Hmm, this is something related to my CLT maybe? http://ix.io/2b1v
<LnL> yeah, looks like you don't have the same sdk as your current os version
<__monty__> Is there a way to fix that? Or is my Xcode too new or something?
<LnL> you can probably just change the sw_vers call
<LnL> there's also /Applications/Xcode.app/Contents/Developer
<LnL> this is where the impurity comes in
<__monty__> How do I find the correct version of the sdk? I am on 10.13 so that's not the right version to pass there, but what is?
<LnL> ls /Library/Developer/CommandLineTools/SDKs
<__monty__> That has 10.14 and another one without a version.
<__monty__> Ok, cryptic linker errors, that's enough for today. Thanks for the help so far though!
<LnL> have a snippet?
<__monty__> LnL: Sorry, moved away from the machine already. I'll pester you with it tomorrow ; )
<LnL> suspect it's MediaPlayer
__monty__ has quit [Quit: leaving]