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