• she/her

Principal engineer at Mercury. I've authored the Dhall configuration language, the Haskell for all blog, and countless packages and keynote presentations.

I'm a midwife to the hidden beauty in everything.

💖 @wiredaemon


discord
Gabriella439
discord server
discord.gg/XS5ZDZ8nnp
location
bay area
private page
cohost.org/newmoon

currently trying to debug a bizarre nix issue where nix-store --realise refuses to substitute outputs for a derivation it's building but will substitute the outputs if you ask to realise them directly:

$ nix show-derivation /nix/store/i2bmxcs2pf3yplhkgadq1hl9bvrbzhkc-system-path.drv | jq '.[].outputs'
{
  "out": {
    "path": "/nix/store/par3miyq7n01ydyaddjm2v814dxw1fkb-system-path"
  }
}

$ nix-store --realise --dry-run '/nix/store/i2bmxcs2pf3yplhkgadq1hl9bvrbzhkc-system-path.drv!out'   
this derivation will be built:
  /nix/store/i2bmxcs2pf3yplhkgadq1hl9bvrbzhkc-system-path.drv

$ nix-store --realise --dry-run '/nix/store/par3miyq7n01ydyaddjm2v814dxw1fkb-system-path'
this path will be fetched (0.00 MiB download, 3.18 MiB unpacked):
  /nix/store/par3miyq7n01ydyaddjm2v814dxw1fkb-system-path

You must log in to comment.

in reply to @fullmoon's post:

This is probably unrelated, but wasn't the syntax for output paths changed in Nix 2.13/2.15? I have no idea if it's related to this issue, I'm just curious because I noticed you're using !out here.