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