00:04
jtojnar_ has joined #nix-darwin
00:06
jtojnar has quit [Read error: Connection reset by peer]
00:08
jtojnar has joined #nix-darwin
00:09
jtojnar_ has quit [Ping timeout: 264 seconds]
00:11
jtojnar has quit [Read error: Connection reset by peer]
00:36
Lisanna has quit [Quit: Lisanna]
01:53
matthewbauer has quit [Read error: Connection reset by peer]
01:54
philr has joined #nix-darwin
01:55
matthewbauer has joined #nix-darwin
01:59
matthewbauer has quit [Read error: Connection reset by peer]
02:00
matthewbauer has joined #nix-darwin
02:52
matthewbauer has quit [Ping timeout: 276 seconds]
03:10
philr has quit [Quit: WeeChat 2.1]
03:45
softinio has quit [Quit: Connection closed for inactivity]
07:19
Lisanna has joined #nix-darwin
07:43
jtojnar has joined #nix-darwin
07:44
edude03 has joined #nix-darwin
08:13
<
edude03 >
Hey peeps, I have a number of developers who are using osx for development on rust, and I'm trying to figure out how to setup fetchgitprivate for them
08:13
<
edude03 >
The complicated thing is I'd like the nix daemon to use their own ssh key instead of a deploy key or something like that
08:13
<
edude03 >
How can I set that up?
09:25
edude03 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:38
peacememories has joined #nix-darwin
11:48
jtojnar has quit [Quit: jtojnar]
11:49
jtojnar has joined #nix-darwin
12:12
__Sander__ has joined #nix-darwin
12:35
edude03 has joined #nix-darwin
12:37
aminechikhaoui has quit [Ping timeout: 240 seconds]
12:38
aminechikhaoui has joined #nix-darwin
13:03
edude03 has quit [Read error: Connection reset by peer]
13:03
<
nikivi >
how hard would it be to write brew2nix tool?
13:03
<
nikivi >
convert brew formulas to nix deriviations
13:50
matthewbauer has joined #nix-darwin
13:54
szicari has joined #nix-darwin
13:57
alexteves_ has joined #nix-darwin
14:02
jtojnar has quit [Quit: jtojnar]
14:03
jtojnar has joined #nix-darwin
14:10
<
gchristensen >
hey so I totally forgot to look at mac2/3/6/9
14:12
jtojnar has quit [Quit: jtojnar]
14:13
<
gchristensen >
as a note related to mac{2,3,6,9} I wish I actually knew how to admin these things instead of just pretending
14:18
<
gchristensen >
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
14:18
<
gchristensen >
/dev/disk0s2 931Gi 925Gi 5.5Gi 100% 26591379 4268375900 1% /
14:28
andreabedini has joined #nix-darwin
14:29
<
andreabedini >
I notice that nixpkgs/pkgs/os-specific/darwin/apple-source-releases/default.nix is a bit outdated and doesn't include newer versions of macos. Is that a bit deal? should I try to update it?
14:32
<
LnL >
CF-1253 (coming soon!)
14:33
<
LnL >
gchristensen: inodes?
14:34
<
gchristensen >
_doh_
14:34
<
gchristensen >
I was misreading the output
14:34
<
gchristensen >
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
14:34
<
gchristensen >
/dev/disk0s2 931Gi 925Gi 5.5Gi 100% 26591382 4268375897 1% /
14:35
<
andreabedini >
thanks LnL
14:56
szicari has quit [Quit: Leaving.]
15:04
<
gchristensen >
error: executing SQLite statement ‘pragma synchronous = normal’: file is encrypted or is not a database (in ‘/nix/var/nix/db/db.sqlite’)
15:05
<
gchristensen >
I saw this once before and PM'd it to you but we never chatted about what the solution was
15:05
<
matthewbauer >
andreabedini: yeah it's not really that big of a deal for lots of things. people are always welcome to bump things when they can get them to build though. the website is
https://opensource.apple.com
15:05
<
matthewbauer >
we need some way to automate it though like ryantm's stuff
15:07
<
LnL >
gchristensen: solution? isn't the db corrupted
15:08
<
gchristensen >
not sure ... maybe?
15:09
<
matthewbauer >
we need someone to get swift on macos working though!
15:09
<
LnL >
gchristensen: there is a way to reinitialize a store with existing paths but I forgot how
15:10
<
andreabedini >
matthewbauer: thanks, I'll read up
15:11
<
gchristensen >
well, the corrupted store is a less bad issue
15:11
<
gchristensen >
well ... rather
15:11
<
gchristensen >
the working machines are more pressing.
15:25
szicari has joined #nix-darwin
15:56
<
LnL >
matthewbauer: oh right, I forgot about that :/
15:57
__Sander__ has quit [Quit: Konversation terminated!]
16:01
<
matthewbauer >
lnl: what is the status of sandboxing on macos? i think this is causing an issue for me in Nixpkgs
16:02
<
LnL >
stuff with transitive frameworks doesn't work
16:03
<
LnL >
and build-remote/hydra still needs some changes, but most local builds should work
16:05
<
matthewbauer >
okay cool. i get issues where derivations always pull in x11 dependencies even when none are provided to the nix builder
16:05
<
matthewbauer >
there is some xpc framework installed that is always pulled in
16:23
matthewbauer has quit [Read error: Connection reset by peer]
16:24
matthewbauer has joined #nix-darwin
16:27
<
gchristensen >
LnL: again, how can I make `ssh amac nix-store` work, without an absolute path in the authorized_keys?
16:29
<
gchristensen >
I put a file in in /etc/paths.d/ but it doesn't work for `ssh amac cmd`
16:29
<
LnL >
ln -s /etc/bashrc ~/.bashrc
16:29
<
matthewbauer >
i had the same issue! let me see what i did
16:35
<
gchristensen >
oohhhhhh
16:35
<
gchristensen >
cool
16:36
<
gchristensen >
I forgot to add a g c root
16:37
matthewbauer has quit [Read error: Connection reset by peer]
16:42
matthewbauer has joined #nix-darwin
16:43
<
gchristensen >
somehow /etc/static/ was GC'd
16:47
Sonarpulse has joined #nix-darwin
16:49
<
gchristensen >
LnL: where does nix-darwin's gc root get created?
16:57
<
LnL >
the current system gets linked as a gcroot with every rebuild
16:58
<
gchristensen >
where does that happen? I don't use the darwin-rebuild command, I just call activate by hand, since I `nix-copy-closure` it over
16:58
<
gchristensen >
I guess part of darwin-rebulid =)
17:01
<
LnL >
can't look right now, brb
17:01
<
gchristensen >
no worries
17:06
philr has joined #nix-darwin
17:11
matthewbauer has quit [Read error: Connection reset by peer]
17:11
<
LnL >
and /nix/var/nix/profiles/system but those might not exist in your case
17:13
matthewbauer has joined #nix-darwin
17:15
<
gchristensen >
ok I think I sorted it :)
17:16
matthewbauer has quit [Read error: Connection reset by peer]
17:17
matthewbauer has joined #nix-darwin
17:22
<
LnL >
hmm, so did that exist?
17:36
<
gchristensen >
I'll debug on the next machine, once mac1 is healthy again
17:41
<
gchristensen >
error: executing SQLite statement 'pragma synchronous = normal': file is not a database (in '/nix/var/nix/db/db.sqlite')
17:42
<
gchristensen >
mac2 maybe hasn't worked in a month+?
17:50
matthewbauer has quit [Read error: Connection reset by peer]
17:52
matthewbauer has joined #nix-darwin
18:36
<
gchristensen >
LnL: I'd like to send you a PR adding --target-host and --build-host to darwin-rebuild. would you like that?
18:45
<
LnL >
sure! I remember looking at the nixos implementation, just skipped everything that didn't look particularly useful
18:46
<
gchristensen >
cool
19:04
philr has quit [Ping timeout: 264 seconds]
19:07
<
LnL >
does anybody know if there's a way to make cp -Rsn resolve source symlinks?
19:08
<
LnL >
or some kind of alternative?
19:09
<
gchristensen >
rsync
19:09
<
gchristensen >
I wonder if I could trick nixops in to using nix-darwin ... hmmm :)
19:09
<
LnL >
huh, rsync can create symlink trees?
19:10
<
LnL >
not sure what assumptions it makes
19:10
<
gchristensen >
wait, what are you trying to do?
19:11
<
LnL >
buildEnv inside of a build
19:11
<
LnL >
and slightly smarter
19:14
<
LnL >
that works, but takes 5-10m for a not that large tree :(
19:14
<
gchristensen >
ouch :(
19:16
<
gchristensen >
lol` ..nixops-wrapped-wrapped`
19:17
<
LnL >
I wish we could solve wrappers in a different way
19:17
<
gchristensen >
me too
19:19
<
matthewbauer >
yeah buildEnv
*should* ignore wrappers but i always get tons of . files in my PATH
19:21
<
LnL >
problem with buildEnv in my case is that it considers a -> b -> c + a -> c a conflict so it barfs out a ton of warnings
19:25
<
matthewbauer >
yeah someone needs to rewrite it in rust!
19:29
<
LnL >
let's make stdenv rebuilds even more fun!
19:56
<
gchristensen >
adding this functionality is not pretty :$
20:02
<
gchristensen >
LnL: have you considered replacing most of darwin-rebuild with nix-deploy?
20:05
<
LnL >
vaguely remember that name, looks like something different tho
20:07
<
gchristensen >
cyeah
20:07
<
gchristensen >
I'm thinking it might be easier / nicer for you if I just built the thing locally and used nix-deploy to handle deployment
20:39
szicari has quit [Quit: Leaving.]
20:41
szicari has joined #nix-darwin
21:16
szicari has quit [Quit: Leaving.]
22:02
disasm has quit [Ping timeout: 240 seconds]
22:07
alexteves_ has quit [Remote host closed the connection]
22:07
disasm has joined #nix-darwin
22:32
matthewbauer has quit [Remote host closed the connection]
22:32
matthewbauer has joined #nix-darwin
22:41
matthewbauer has quit [Ping timeout: 256 seconds]
23:16
matthewbauer has joined #nix-darwin
23:55
Leira has joined #nix-darwin