haskellPackages.ghcWithPackages: fix whitespace alignment
This commit is contained in:
parent
f45f7cb3e0
commit
5318038186
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ let
|
||||||
isHaLVM = ghc.isHaLVM or false;
|
isHaLVM = ghc.isHaLVM or false;
|
||||||
ghc761OrLater = isGhcjs || isHaLVM || lib.versionOlder "7.6.1" ghc.version;
|
ghc761OrLater = isGhcjs || isHaLVM || lib.versionOlder "7.6.1" ghc.version;
|
||||||
packageDBFlag = if ghc761OrLater then "--global-package-db" else "--global-conf";
|
packageDBFlag = if ghc761OrLater then "--global-package-db" else "--global-conf";
|
||||||
ghcCommand' = if isGhcjs then "ghcjs" else "ghc";
|
ghcCommand' = if isGhcjs then "ghcjs" else "ghc";
|
||||||
ghcCommand = "${ghc.targetPrefix}${ghcCommand'}";
|
ghcCommand = "${ghc.targetPrefix}${ghcCommand'}";
|
||||||
ghcCommandCaps= lib.toUpper ghcCommand';
|
ghcCommandCaps= lib.toUpper ghcCommand';
|
||||||
libDir = if isHaLVM then "$out/lib/HaLVM-${ghc.version}"
|
libDir = if isHaLVM then "$out/lib/HaLVM-${ghc.version}"
|
||||||
else "$out/lib/${ghc.targetPrefix}${ghc.haskellCompilerName}"
|
else "$out/lib/${ghc.targetPrefix}${ghc.haskellCompilerName}"
|
||||||
|
|
Loading…
Reference in a new issue