Skip to content

Strip trailing whitespace from generated files #208

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

Open
peti opened this issue Sep 17, 2015 · 0 comments
Open

Strip trailing whitespace from generated files #208

peti opened this issue Sep 17, 2015 · 0 comments

Comments

@peti
Copy link
Member

peti commented Sep 17, 2015

The pretty-printing libraries have the habit of adding trailing whitespace. We'd like to strip while writing the output.

@domenkozar domenkozar changed the title String trailing whitespace from generated files Strip trailing whitespace from generated files Mar 9, 2017
ShamrockLee added a commit to ShamrockLee/nixpkgs that referenced this issue Oct 3, 2021
Manually remove trailing white spaces
in `pkgs/**.nix` with the help of an editor

Auto-generated nix expressions containing trailing whitespaces:

*   pkgs/development/haskell-modules/hackage-packages.nix
    *   See issue NixOS/cabal2nix#208
*   pkgs/**/eggs.nix
    *   I don't know how they are generated,
        but they seems to be Python-related.
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

No branches or pull requests

1 participant