Merge pull request #34863 from ElvishJerricco/callCabal2nix-use-static-cabal2nix

Use static cabal2nix in callCabal2nix
This commit is contained in:
John Ericson 2018-02-12 17:07:18 -05:00 committed by GitHub
commit 6acfa356dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ let
sha256Arg = if isNull sha256 then "--sha256=" else ''--sha256="${sha256}"'';
in pkgs.buildPackages.stdenv.mkDerivation {
name = "cabal2nix-${name}";
nativeBuildInputs = [ pkgs.buildPackages.haskellPackages.cabal2nix ];
nativeBuildInputs = [ pkgs.buildPackages.cabal2nix ];
preferLocalBuild = true;
phases = ["installPhase"];
LANG = "en_US.UTF-8";