maralorn / nix-output-monitor

Pipe your nix-build output through the nix-output-monitor a.k.a nom to get additional information while building.
GNU Affero General Public License v3.0
835 stars 24 forks source link

No output recognised, when run with --dry-run #119

Open SuperSandro2000 opened 10 months ago

SuperSandro2000 commented 10 months ago

When supplying --dry-run to nix build aliased to nom, nom just eats the output and does not display anything:

 ▶ command nom build .#nixosConfigurations.francium.config.system.build.toplevel --dry-run
Using saved setting for 'extra-trusted-public-keys = hydra.supersandro.de-1:hWxjKblwA/ut2boPh9FfaroI2OF4XP5QxaOEKac9HOE=' from ~/.local/share/nix/trusted-settings.json.
Using saved setting for 'extra-trusted-substituters = https://hydra.supersandro.de' from ~/.local/share/nix/trusted-settings.json.
Finished at 11:53:35 after 0s

Compared to

 ▶ command nix build .#nixosConfigurations.$HOSTNAME.config.system.build.toplevel --dry-run
these 19 derivations will be built:
  /nix/store/65f8mjij6ghz9zd8sx568bcck7z5q2sx-X-Restart-Triggers-dbus.drv
  /nix/store/0bbbm35ll18jxwnm01z5085gqn5srkqk-unit-dbus.service.drv
  /nix/store/l4hj9g4pfw5q8yfgyqnv71sxkh73slk2-set-environment.drv
  /nix/store/46ipr0nbx9z90r1nh3bn8rzhj2kns763-etc-zshenv.drv
  /nix/store/8qd2q3slvjnc2h0mazhiigr9gjc0v472-nixos-configuration-reference-manpage.drv
  /nix/store/ka6hdaxm2m5m0r8ykyh10yzcc8dagc0j-man-paths.drv
  /nix/store/4a7h5ap49vn05spbk00x749z6sb1zp3w-man-cache.drv
  /nix/store/a7yxrbq0xwkl4bf3ys16q3aarcrfjgnh-neovim-0.9.4.drv
  /nix/store/8ax14qf3wdk7m82kigcccckxjass0ck9-user-environment.drv
  /nix/store/8xpvbrsf3qi34xpfgrlb2289w51agwks-unit-dbus.service.drv
  /nix/store/vj663caqfs1l4f8mqlwdsg7b7vixml1d-system-path.drv
  /nix/store/cr6xd4fp1z8ffkkjc4rh7h0jlwbkyvps-dbus-1.drv
  /nix/store/idi4qr3py2q8mjbpp7ivzssw9a9wq2z0-etc-pam-environment.drv
  /nix/store/nwbjssdc1ay7z06yjgjbr1r18162kzw3-user-units.drv
  /nix/store/q7p1lqmq3200j85xj9cw1prb077jizzk-etc-profile.drv
  /nix/store/s0j33h0bs7asd7gv9znsid40zw707f9k-system-units.drv
  /nix/store/smy2w6w9gf1dzqlxvypamdfvmqm606dk-etc-man_db.conf.drv
  /nix/store/sa4wp0dq84y0fg704i68hdfqj6n1iy4h-etc.drv
  /nix/store/9vpr3460zga6vn8m1d9gf6hb6h7vjlgq-nixos-system-francium-23.11.drv
these 3 paths will be fetched (34.78 MiB download, 40.62 MiB unpacked):
  /nix/store/qb3vrvq7k36f77sjm9sk3w45zzp4jq8k-atuin-17.0.0
  /nix/store/4f8m764s0fhl4w8rrdbj68dk40zba3aa-nil-2023-08-09
  /nix/store/r0cbzw49zg9nwnb9j34z96yq3gzqrai5-options.json