diff options
Diffstat (limited to 'pkgs/development/compilers/ghc/common-hadrian.nix')
-rw-r--r-- | pkgs/development/compilers/ghc/common-hadrian.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/common-hadrian.nix b/pkgs/development/compilers/ghc/common-hadrian.nix index b201379668b1b..079bbefbae4ce 100644 --- a/pkgs/development/compilers/ghc/common-hadrian.nix +++ b/pkgs/development/compilers/ghc/common-hadrian.nix @@ -5,7 +5,7 @@ if rev != null then "https://gitlab.haskell.org/ghc/ghc.git" else "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz" - +, postFetch ? null }: { lib @@ -146,6 +146,8 @@ inherit url sha256; } // lib.optionalAttrs (rev != null) { inherit rev; + } // lib.optionalAttrs (postFetch != null) { + inherit postFetch; }) # GHC's build system hadrian built from the GHC-to-build's source tree |