diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-31 16:29:02 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-31 16:29:02 -0400 |
commit | 58ce59dd96102dcdda28c162c4f8a3d397368af1 (patch) | |
tree | dbdb93e4a45c2085763a961a83912de24ebdf787 /pkgs/development/haskell-modules/make-package-set.nix | |
parent | d7160f39bd46e8ee86e95cbaf7a8f3d5685ab30c (diff) | |
download | nixpkgs-58ce59dd96102dcdda28c162c4f8a3d397368af1.tar nixpkgs-58ce59dd96102dcdda28c162c4f8a3d397368af1.tar.gz nixpkgs-58ce59dd96102dcdda28c162c4f8a3d397368af1.tar.bz2 nixpkgs-58ce59dd96102dcdda28c162c4f8a3d397368af1.tar.lz nixpkgs-58ce59dd96102dcdda28c162c4f8a3d397368af1.tar.xz nixpkgs-58ce59dd96102dcdda28c162c4f8a3d397368af1.tar.zst nixpkgs-58ce59dd96102dcdda28c162c4f8a3d397368af1.zip |
haskell infra: Allow overriding `haskellSrc2nix`
Diffstat (limited to 'pkgs/development/haskell-modules/make-package-set.nix')
-rw-r--r-- | pkgs/development/haskell-modules/make-package-set.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/make-package-set.nix b/pkgs/development/haskell-modules/make-package-set.nix index 2a96c66dced..271f1c1a8f7 100644 --- a/pkgs/development/haskell-modules/make-package-set.nix +++ b/pkgs/development/haskell-modules/make-package-set.nix @@ -149,7 +149,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; } |