Skip to content

Commit

Permalink
diagrams-builder,mlflow-server: remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelgrf committed Nov 5, 2020
1 parent 975c1ee commit da0f8c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkgs/servers/mlflow-server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
let
py = python3.pkgs;
in
py.toPythonApplication
py.toPythonApplication
(py.mlflow.overridePythonAttrs(old: rec {
pname = "mlflow-server";

Expand Down
8 changes: 4 additions & 4 deletions pkgs/tools/graphics/diagrams-builder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
If user need access to more haskell package for building his
diagrams, he simply has to pass these package through the
extra packages function as follow in `config.nix`:
~~~
diagrams-builder.override {
extraPackages = self : [myHaskellPackage];
Expand All @@ -15,7 +15,7 @@
let

# Used same technique as for the yiCustom package.
wrappedGhc = ghcWithPackages
wrappedGhc = ghcWithPackages
(self: [ diagrams-builder ] ++ extraPackages self);
ghcVersion = wrappedGhc.version;

Expand All @@ -25,7 +25,7 @@ let
--set NIX_GHC ${wrappedGhc}/bin/ghc \
--set NIX_GHC_LIBDIR ${wrappedGhc}/lib/ghc-${ghcVersion}
'';

backends = ["svg" "cairo" "ps"];

in
Expand All @@ -35,7 +35,7 @@ stdenv.mkDerivation {

buildInputs = [ makeWrapper ];

buildCommand = with stdenv.lib;
buildCommand = with stdenv.lib;
concatStrings (intersperse "\n" (map exeWrapper backends));

# Will be faster to build the wrapper locally then to fetch it from a binary cache.
Expand Down

0 comments on commit da0f8c6

Please sign in to comment.