Skip to content

Silence lndir output in symlinkJoin #26164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2017
Merged

Conversation

ryantrinkle
Copy link
Contributor

Motivation for this change

Recently, haskell-packages started using symlinkJoin for ghcWithPackages, and lndir's verbose output makes build output far less readable. This PR silences that output.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
slawekjaranowski Slawomir Jaranowski
By default lndir outputs the name of each subdirectory as it descends into it; this commit gives it the -silent flag to disable this behavior
@mention-bot
Copy link

@ryantrinkle, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @urkud and @vcunat to be potential reviewers.

@ryantrinkle
Copy link
Contributor Author

It looks like lndir is still outputting some garbage on stderr, but I'm not sure if there's a good way to prevent that. It looks like this:

/nix/store/xcsbbnz1jjsfp9py4a14nklzyz3nzaqm-time-locale-compat-0.1.1.3/nix-support:
propagated-native-build-inputs: /nix/store/1yk710b6q79935691189h1aqx8w97m5f-unordered-containers-0.2.8.0/nix-support/propagated-native-build-inputs

@joachifm joachifm changed the title Slience lndir output in symlinkJoin Silence lndir output in symlinkJoin May 27, 2017
@Mic92 Mic92 merged commit 90b08c2 into NixOS:master May 28, 2017
@Mic92
Copy link
Member

Mic92 commented May 28, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants