Difference between revisions of "2022/11/10/Nix issue"

From Mew
Jump to navigation Jump to search
(Created page with "{{fmt/title|the Nix upgrade script issue: Day Three}} {{subpage/date}} We actually made a lot of progress last night, thanks to Nixpert and ghost!admin. Working: * nix devel...")
 
 
Line 14: Line 14:
  
 
Running <code>nix log /nix/store/k0q66yrcfzsq3llgr13m928xqiqkgcm8-offline.drv</code>, as it suggests, just gives me a ">" prompt (and would presumably show those last 10 lines again, plus whatever came before -- but everything was working until the last 5 lines, so I don't know what I might get from that... unless it names the file it's looking at which has the missing definition...?).
 
Running <code>nix log /nix/store/k0q66yrcfzsq3llgr13m928xqiqkgcm8-offline.drv</code>, as it suggests, just gives me a ">" prompt (and would presumably show those last 10 lines again, plus whatever came before -- but everything was working until the last 5 lines, so I don't know what I might get from that... unless it names the file it's looking at which has the missing definition...?).
 +
 +
'''Post-hoc update''': We did finally get it working. Now we just need to tweak some things...

Latest revision as of 20:15, 11 November 2022

the Nix upgrade script issue: Day Three

Wednesday Thursday Friday

We actually made a lot of progress last night, thanks to Nixpert and ghost!admin.

Working:

  • nix develop
  • update.sh
colmena does not apply

Starts, but fails:

  • colmena apply

I'm now trying to figure out where this thing might be defined -- or is supposed to be defined, but isn't -- that is resulting in the "Error: hash mismatch, expected undefined, got 5f1715e506e71860b4b07c50060ea6462217611e" message.

Running nix log /nix/store/k0q66yrcfzsq3llgr13m928xqiqkgcm8-offline.drv, as it suggests, just gives me a ">" prompt (and would presumably show those last 10 lines again, plus whatever came before -- but everything was working until the last 5 lines, so I don't know what I might get from that... unless it names the file it's looking at which has the missing definition...?).

Post-hoc update: We did finally get it working. Now we just need to tweak some things...