Skip to content

Commit

Permalink
Merge pull request #41331 from obsidiansystems/haskellSrc2nix-overriding
Browse files Browse the repository at this point in the history
haskell infra: Allow overriding `haskellSrc2nix`
  • Loading branch information
Ericson2314 committed May 31, 2018
2 parents 8f374ba + 58ce59d commit df1d6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/haskell-modules/make-package-set.nix
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
filter = path: type:
pkgs.lib.hasSuffix "${name}.cabal" path ||
baseNameOf path == "package.yaml";
expr = haskellSrc2nix {
expr = self.haskellSrc2nix {
inherit name;
src = if pkgs.lib.canCleanSource src
then pkgs.lib.cleanSourceWith { inherit src filter; }
Expand Down

0 comments on commit df1d6ac

Please sign in to comment.