supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin
<
aterius>
Anyone had these errors
<
aterius>
Updated macos last night, not sure if that messed anything up
__monty__ has quit [Quit: leaving]
dhess has quit [*.net *.split]
{^_^} has quit [*.net *.split]
ehamberg has quit [*.net *.split]
infinisil has quit [*.net *.split]
gchristensen has quit [*.net *.split]
{^_^} has joined #nix-darwin
infinisil has joined #nix-darwin
gchristensen has joined #nix-darwin
dhess has joined #nix-darwin
ehamberg has joined #nix-darwin
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 246 seconds]
johnw has joined #nix-darwin
LnL has quit [Ping timeout: 246 seconds]
LnL has joined #nix-darwin
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 240 seconds]
maljub01 has quit [Quit: maljub01]
maljub01 has joined #nix-darwin
supersandro2000 has joined #nix-darwin
LnL has quit [Quit: exit 1]
LnL has joined #nix-darwin
abathur has quit [Ping timeout: 240 seconds]
abathur has joined #nix-darwin
abathur has quit [Client Quit]
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 256 seconds]
__monty__ has joined #nix-darwin
<
LnL>
aterius: I highly suspect you have a corrupt path, resulting in nix getting confused when hardlinking
<
LnL>
aterius: does the following output the same hash as the path name?
<
LnL>
aterius: nix-hash --type sha256 --base32 /nix/store/.links/0i0y9b74cx56hxdv150jz527k7lxyjjnz80kpm79svkk6cj9y4l5
hyiltiz has quit [Quit: hyiltiz]
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 246 seconds]
xanderle has joined #nix-darwin
nikivi has joined #nix-darwin
xanderle has quit [Remote host closed the connection]
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 264 seconds]
<
aterius>
LnL: I ended up resolving it by wiping the links directory and rebuilding
<
aterius>
What causes path corruption? Is there a way to repair it in the future? repair-store didn't seem to do anything
<
LnL>
hmm, guess that's relatively safe since those are hardlinks anyway
<
LnL>
yes and no, you can only repair a path if it's either in the cache or the build instructions (the drv) are still around for you to rebuild it
<
aterius>
I see, so the solution is always just to wipe the hardlinks?
<
LnL>
as for corruption, unlike on nixos we can't mount the store readonly so so root can still modify stuff
<
aterius>
(also thank you for the debugging tips)
<
aterius>
Yeah makes sense
<
LnL>
I'm not sure how to properly repair links actually
<
LnL>
finding the output/drv that corresponds to the existing file might be hard to find
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 268 seconds]
nikivi has joined #nix-darwin
eraserhd has joined #nix-darwin
philr has quit [Ping timeout: 240 seconds]
abathur has joined #nix-darwin
eraserhd2 has joined #nix-darwin
xcmw has joined #nix-darwin
eraserhd has quit [Ping timeout: 265 seconds]
philr has joined #nix-darwin
{^_^} has quit [Ping timeout: 260 seconds]
gchristensen has quit [Ping timeout: 260 seconds]
__monty__ has quit [Quit: leaving]
daGrevis has quit [Quit: Ping timeout (120 seconds)]
daGrevis has joined #nix-darwin
hedgie has quit [Remote host closed the connection]
hedgie has joined #nix-darwin