Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 mkDerivation, 3 base, 4 directory, 5 filepath, 6 ghc-platform, 7 lib, 8 process, 9 text, 10 transformers, 11 # GHC source tree to build ghc-toolchain from 12 ghcVersion, 13 ghcSrc, 14}: 15mkDerivation { 16 pname = "ghc-toolchain"; 17 version = ghcVersion; 18 src = ghcSrc; 19 postUnpack = '' 20 sourceRoot="$sourceRoot/utils/ghc-toolchain" 21 ''; 22 libraryHaskellDepends = [ 23 base 24 directory 25 filepath 26 ghc-platform 27 process 28 text 29 transformers 30 ]; 31 description = "Utility for managing GHC target toolchains"; 32 license = lib.licenses.bsd3; 33}