diagrams-builder,mlflow-server: remove trailing whitespace

This commit is contained in:
Samuel Gräfenstein 2020-11-05 22:06:46 +01:00 committed by Alyssa Ross
parent 88bf1b3e92
commit 433c1a7726
2 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@
let let
py = python3.pkgs; py = python3.pkgs;
in in
py.toPythonApplication py.toPythonApplication
(py.mlflow.overridePythonAttrs(old: rec { (py.mlflow.overridePythonAttrs(old: rec {
pname = "mlflow-server"; pname = "mlflow-server";

View file

@ -2,7 +2,7 @@
If user need access to more haskell package for building his If user need access to more haskell package for building his
diagrams, he simply has to pass these package through the diagrams, he simply has to pass these package through the
extra packages function as follow in `config.nix`: extra packages function as follow in `config.nix`:
~~~ ~~~
diagrams-builder.override { diagrams-builder.override {
extraPackages = self : [myHaskellPackage]; extraPackages = self : [myHaskellPackage];
@ -15,7 +15,7 @@
let let
# Used same technique as for the yiCustom package. # Used same technique as for the yiCustom package.
wrappedGhc = ghcWithPackages wrappedGhc = ghcWithPackages
(self: [ diagrams-builder ] ++ extraPackages self); (self: [ diagrams-builder ] ++ extraPackages self);
ghcVersion = wrappedGhc.version; ghcVersion = wrappedGhc.version;
@ -25,7 +25,7 @@ let
--set NIX_GHC ${wrappedGhc}/bin/ghc \ --set NIX_GHC ${wrappedGhc}/bin/ghc \
--set NIX_GHC_LIBDIR ${wrappedGhc}/lib/ghc-${ghcVersion} --set NIX_GHC_LIBDIR ${wrappedGhc}/lib/ghc-${ghcVersion}
''; '';
backends = ["svg" "cairo" "ps"]; backends = ["svg" "cairo" "ps"];
in in
@ -35,7 +35,7 @@ stdenv.mkDerivation {
buildInputs = [ makeWrapper ]; buildInputs = [ makeWrapper ];
buildCommand = with stdenv.lib; buildCommand = with stdenv.lib;
concatStrings (intersperse "\n" (map exeWrapper backends)); concatStrings (intersperse "\n" (map exeWrapper backends));
# Will be faster to build the wrapper locally then to fetch it from a binary cache. # Will be faster to build the wrapper locally then to fetch it from a binary cache.