hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
jtojnar has quit [Remote host closed the connection]
hamishmack has quit [Client Quit]
codedmart has quit [Ping timeout: 268 seconds]
{`-`} has quit [Ping timeout: 264 seconds]
clever has quit [*.net *.split]
cransom has quit [*.net *.split]
Biappi has quit [*.net *.split]
codedmart has joined #nix-darwin
dtz has quit [Ping timeout: 260 seconds]
copumpkin has quit [Ping timeout: 245 seconds]
thefloweringash[ has quit [Ping timeout: 260 seconds]
puffnfresh has quit [Ping timeout: 256 seconds]
codyopel has quit [Ping timeout: 256 seconds]
tfc[m] has quit [Ping timeout: 276 seconds]
peel[m] has quit [Ping timeout: 276 seconds]
sellout- has quit [Ping timeout: 256 seconds]
clever has joined #nix-darwin
cransom has joined #nix-darwin
Biappi has joined #nix-darwin
sellout- has joined #nix-darwin
Lisanna has joined #nix-darwin
peel[m] has joined #nix-darwin
jtojnar has joined #nix-darwin
hamishmack has joined #nix-darwin
puffnfresh[m] has joined #nix-darwin
tfc[m] has joined #nix-darwin
thefloweringash[ has joined #nix-darwin
copumpkin[m] has joined #nix-darwin
dtz[m] has joined #nix-darwin
codyopel[m] has joined #nix-darwin
gchristensen is now known as gchristensen`wed
gchristensen`wed is now known as gchris`wednesday
sellout- has quit [Ping timeout: 255 seconds]
sellout- has joined #nix-darwin
alexteves has quit [Remote host closed the connection]
philr has quit [Ping timeout: 260 seconds]
nikivi has quit [Quit: ZNC 1.6.6 - http://znc.in]
johnw_ has joined #nix-darwin
johnw has quit [Ping timeout: 248 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sonarpulse has quit [Ping timeout: 276 seconds]
Biappi has quit [Remote host closed the connection]
nikivi has joined #nix-darwin
codedmart_ has joined #nix-darwin
codedmart has quit [Ping timeout: 276 seconds]
codedmart_ is now known as codedmart
{^_^} has quit [Ping timeout: 276 seconds]
Biappi has joined #nix-darwin
__Sander__ has joined #nix-darwin
tfc[m] has quit [Remote host closed the connection]
copumpkin[m] has quit [Read error: Connection reset by peer]
codyopel[m] has quit [Read error: Connection reset by peer]
thefloweringash[ has quit [Remote host closed the connection]
dtz[m] has quit [Remote host closed the connection]
peel[m] has quit [Read error: Connection reset by peer]
puffnfresh[m] has quit [Read error: Connection reset by peer]
sellout- has quit [Ping timeout: 245 seconds]
{^_^} has joined #nix-darwin
{^_^} has quit [Changing host]
{^_^} has joined #nix-darwin
peel[m] has joined #nix-darwin
sellout- has joined #nix-darwin
hamishmack has joined #nix-darwin
tfc[m] has joined #nix-darwin
copumpkin[m] has joined #nix-darwin
dtz[m] has joined #nix-darwin
thefloweringash[ has joined #nix-darwin
puffnfresh[m] has joined #nix-darwin
codyopel[m] has joined #nix-darwin
sellout- has quit [Ping timeout: 260 seconds]
sellout- has joined #nix-darwin
philr has joined #nix-darwin
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
hamishmack has joined #nix-darwin
dustinm has quit [Quit: Leaving]
philr has quit [Quit: WeeChat 2.1]
dustinm has joined #nix-darwin
jtojnar has quit [Ping timeout: 276 seconds]
jtojnar has joined #nix-darwin
alexteves has joined #nix-darwin
mightybyte has joined #nix-darwin
__Sander__ has quit [Quit: Konversation terminated!]
jtojnar has quit [Ping timeout: 276 seconds]
jtojnar has joined #nix-darwin
Sonarpulse has joined #nix-darwin
<mjrosenb> I'm guessing both sshfs and ntfs3g are missing because macfuse is missing?
<LnL> yeah, I don't think we have fuse
<johnw_> LnL: did you ever have an idea of why nix-shell doesn't use the overlaid pkgs?
<johnw_> I'm finding myself having to repeat statements from my overlays in all the default.nix files
<LnL> urgh this again :p
* LnL is so confused
alexteves has quit [Remote host closed the connection]
alexteves has joined #nix-darwin
<johnw_> it never went away :)
johnw_ is now known as johnw
johnw has quit [Changing host]
johnw has joined #nix-darwin
<mjrosenb> it looks like macfuse is on github, so it should be pretty easy to write a nixexpr for it, right?
<LnL> sadly I don't think so, homebrew doesn't build it either (it's a cask) and I think it installs a kext
<mjrosenb> :-( well, nix can still install a kext, right?
<mjrosenb> or is there some reason that nix can not do that.
<mjrosenb> oh, kexts probably want to be in a standard location
<mjrosenb> not in /nix/store
<LnL> it might be fine for building stuff, but you'd have to manually configure the kext or make a module for nix-darwin to do it
<johnw> LnL: it definitely seems to be callCabal2nix that's the culprit
<johnw> if I use pkgs.callCabal2nix, for a pkgs that contains overlaid names, the default.nix which is generated and then loaded does not see the overlaid package set
<johnw> where if I generate that same default.nix myself
<johnw> and use pkgs.callPackage
<johnw> it *does* see the overlaid names
<LnL> that's the only thing I can imagine
<LnL> is it the implementation or is there a bug in nix with IFD
<johnw> still tracking it down
<johnw> i need to find who actually uses the default.nix which gets generated
<johnw> the callPackage it calls uses a 'self' which, I believe, is the wrong self
<johnw> it's the self that built the pkgs that I later overload
<johnw> but that's just a guess
<LnL> hmm, right the haskell stuff has it's own fixpoint
<johnw> hmm
<johnw> but copying that code into my own overlay, where I know what 'self' means, hasn't fixed the problem yet
<johnw> still digging
<johnw> but that works fine if developPackage is in the default.nix...
<LnL> won't that override your own overrides
<mjrosenb> LnL: is nix-darwin something other than nix on darwin?
<LnL> yeah, it's not a great name, I actually didn't even realise it's the same name at the time
<LnL> I didn't like nixos-darwin, but might have been better
<johnw> LnL: interesting
<johnw> except that this is happening right now without developPackage in the mix
<johnw> just callCabal2nix directly
<johnw> which I've overriden to call my callCabal2nix definition
<johnw> that specifically calls hpkgs.callPackage for the right hpkgs
<johnw> something is very wrong somewhere
thefloweringash[ has quit [Ping timeout: 255 seconds]
copumpkin[m] has quit [Ping timeout: 240 seconds]
tfc[m] has quit [Ping timeout: 245 seconds]
codyopel[m] has quit [Ping timeout: 245 seconds]
peel[m] has quit [Ping timeout: 256 seconds]
dtz[m] has quit [Ping timeout: 260 seconds]
puffnfresh[m] has quit [Ping timeout: 276 seconds]
sellout- has quit [Ping timeout: 260 seconds]
sellout- has joined #nix-darwin
<johnw> LnL: le sigh
<LnL> debugging this kind of stuff is hard
<LnL> one trick I've used when messing with the stdenv stages is to rename stuff
<LnL> so it's easier to figure out what gets pulled in from what layer
peel[m] has joined #nix-darwin
<johnw> LnL: good idea
<LnL> not sure if that's possible in your this case tho
<johnw> so, I'm doing this from bash:
<johnw> nix-shell -p "(import <darwin> {}).pkgs.packageDeps \".\""
<johnw> which is indeed calling my packageDeps defined, defined in my 10-haskell.nix overlay file
<johnw> that calls self.usingWithHoogle self.haskell.packages.ghc822
<LnL> yeah, but doesn't the IFD complicate this alot?
<johnw> where 'self' here should be my overlay closure
<johnw> when does IFD come into play?
<LnL> oh, or did you eliminate that?
<johnw> i'm not sure what it was
<LnL> callWithCabal2nix
<johnw> one sec
<johnw> start here:
<johnw> this calls self.packageDrv, which calls a version of callPackage I've defined in a let higher up
<johnw> that callPackage calls my own private definition of callCabal2nix
<johnw> which calls a private callPackageKeepDeriver
<johnw> passing in the closure to use
<johnw> which calling <closure>.callPackage
<johnw> that *should* provide the default.nix generated in the current directory with the overlaid package set
Sonarpulse has quit [Ping timeout: 256 seconds]
<johnw> ot
<johnw> oh
<johnw> hmm
<johnw> HMMM
<johnw> i think that's it
<johnw> LnL: yes, that was it
<johnw> I was clobbering my overrides :(
<johnw> sorry for all the drama
<johnw> nix-darwin is fully exonerated!
puffnfresh[m] has joined #nix-darwin
copumpkin[m] has joined #nix-darwin
codyopel[m] has joined #nix-darwin
thefloweringash[ has joined #nix-darwin
dtz[m] has joined #nix-darwin
tfc[m] has joined #nix-darwin
sellout- has quit [Ping timeout: 260 seconds]
sellout- has joined #nix-darwin
<LnL> heh, the rec?
<johnw> it was the override of overrides that was killing me
<johnw> and it's a function I wrote, so shame no me