···292 overrideSrc = drv: { src, version ? drv.version }:
293 overrideCabal drv (_: { inherit src version; editedCabalFile = null; });
29400000000295 # Extract the haskell build inputs of a haskell package.
296 # This is useful to build environments for developing on that
297 # package.
298- getHaskellBuildInputs = p:
299- (overrideCabal p (args: {
300- passthru = (args.passthru or {}) // {
301- _getHaskellBuildInputs = (extractBuildInputs p.compiler args).haskellBuildInputs;
302- };
303- }))._getHaskellBuildInputs;
304305 # Under normal evaluation, simply return the original package. Under
306 # nix-shell evaluation, return a nix-shell optimized environment.
···292 overrideSrc = drv: { src, version ? drv.version }:
293 overrideCabal drv (_: { inherit src version; editedCabalFile = null; });
294295+ # Get all of the build inputs of a haskell package, divided by category.
296+ getBuildInputs = p:
297+ (overrideCabal p (args: {
298+ passthru = (args.passthru or {}) // {
299+ _getBuildInputs = extractBuildInputs p.compiler args;
300+ };
301+ }))._getBuildInputs;
302+303 # Extract the haskell build inputs of a haskell package.
304 # This is useful to build environments for developing on that
305 # package.
306+ getHaskellBuildInputs = p: (getBuildInputs p).haskellBuildInputs;
00000307308 # Under normal evaluation, simply return the original package. Under
309 # nix-shell evaluation, return a nix-shell optimized environment.