diff options
author | Samuel Gräfenstein <git@samuelgrf.com> | 2020-11-05 22:06:46 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-11-09 11:39:28 +0000 |
commit | 433c1a77260ed5bc8ed5da226ab54c9a204a5605 (patch) | |
tree | 3ca049c0a00c63729878900cdf6cceb76c81d1bd /pkgs | |
parent | 88bf1b3e92d96cb64c862db09b7e90263d89664e (diff) |
diagrams-builder,mlflow-server: remove trailing whitespace
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/mlflow-server/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/graphics/diagrams-builder/default.nix | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/servers/mlflow-server/default.nix b/pkgs/servers/mlflow-server/default.nix index 12f1427555bf..45dd6dd43ae3 100644 --- a/pkgs/servers/mlflow-server/default.nix +++ b/pkgs/servers/mlflow-server/default.nix @@ -3,7 +3,7 @@ let py = python3.pkgs; in -py.toPythonApplication +py.toPythonApplication (py.mlflow.overridePythonAttrs(old: rec { pname = "mlflow-server"; diff --git a/pkgs/tools/graphics/diagrams-builder/default.nix b/pkgs/tools/graphics/diagrams-builder/default.nix index 8a23375d945f..24e43044697d 100644 --- a/pkgs/tools/graphics/diagrams-builder/default.nix +++ b/pkgs/tools/graphics/diagrams-builder/default.nix @@ -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]; @@ -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; @@ -25,7 +25,7 @@ let --set NIX_GHC ${wrappedGhc}/bin/ghc \ --set NIX_GHC_LIBDIR ${wrappedGhc}/lib/ghc-${ghcVersion} ''; - + backends = ["svg" "cairo" "ps"]; in @@ -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. |