treewide: pkgs/**.nix: remove trailing whitespaces

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 https://github.com/NixOS/cabal2nix/issues/208
*   pkgs/**/eggs.nix
    *   I don't know how they are generated,
        but they seems to be Python-related.
This commit is contained in:
Shamrock Lee 2021-10-04 01:08:14 +08:00
parent 441e405c77
commit fecc5d7bff
4 changed files with 38 additions and 40 deletions

View file

@ -2,7 +2,6 @@ a :
a.stdenv.mkDerivation {
buildCommand = ''
mkdir -p "$out/attributes"
'' + (a.lib.concatStrings (map
(n: ''
ln -s "${a.writeTextFile {name=n; text=builtins.getAttr n a.theAttrSet;}}" $out/attributes/${n};

View file

@ -127,7 +127,6 @@ rec {
cp README.md $doc/share/${pname}
'';
checkPhase = ''
'';
};