Skip to content

Comments

nix-output-monitor: 1.1.3.0 -> 2.0.0.0#196137

Merged
cdepillabout merged 1 commit intoNixOS:haskell-updatesfrom
maralorn:nixos-unstable
Oct 15, 2022
Merged

nix-output-monitor: 1.1.3.0 -> 2.0.0.0#196137
cdepillabout merged 1 commit intoNixOS:haskell-updatesfrom
maralorn:nixos-unstable

Conversation

@maralorn
Copy link
Member

@maralorn maralorn commented Oct 15, 2022

Changelog

Highlights:

  • New ways to use nom, via different aliases and options. Have a look at the README for new usage or just try nom build, nom develop or nom-build
  • Full support for new-style nix commands like nix build and therefor also flakes.
  • Support for parsing the nix "internal-json" log format. This gives us much more information.
  • The output has been massively reworked to accommodate the new information available from json output. This includes:
    • Running downloads/uploads
    • Show current build phase (only possible for local builds).
    • Remote builders are displayed more economically
    • Build summaries have been reworked to be less overwhelming
    • Log output is prefixed with build job names.
  • Massive internal refactoring with significant performance improvements and less flickering.

Further changes:

  • The algorithm to layout the rendering tree has been improved.
  • Improved build name display and show build platform if different from our platform.
  • Better error reporting.
  • Pause build time counter while system is suspended.
  • Fixed a color flickering issue in the dependency graph (thx @alyssais).
  • Removed some weird operators. (thx @blackheaven heaven)
  • The old nom-build wrapper is obsolete and has been removed.
  • Updated to use ghc 9.2 with corresponding features like GHC2021 and RecordDotSyntax.
  • Added benchmarking and profiling scripts, to monitor performance.
  • Most performance improvements came from replacing aeson with json-hermes.
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.11 Release Notes (or backporting 22.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Oct 15, 2022
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Oct 15, 2022
@cdepillabout
Copy link
Member

Thanks, I tried building this and running some various nom build commands, and everything looked like it is now working!

@cdepillabout cdepillabout merged commit 9dc6643 into NixOS:haskell-updates Oct 15, 2022
@SuperSandro2000
Copy link
Member

I've been testing this already for a while and arguable this improves the progress bar by far a lot.

@maralorn maralorn deleted the nixos-unstable branch October 18, 2022 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants