diff options
Diffstat (limited to 'pkgs/development/beam-modules')
-rw-r--r-- | pkgs/development/beam-modules/default.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/development/beam-modules/default.nix b/pkgs/development/beam-modules/default.nix index 1d4cef685148b..95fe683cd1e51 100644 --- a/pkgs/development/beam-modules/default.nix +++ b/pkgs/development/beam-modules/default.nix @@ -5,14 +5,9 @@ let lib = pkgs.callPackage ./lib.nix {}; - # FIXME: add support for overrideScope - callPackageWithScope = scope: drv: args: stdenv.lib.callPackageWith scope drv args; - mkScope = scope: pkgs // scope; - packages = self: let - defaultScope = mkScope self; - callPackage = drv: args: callPackageWithScope defaultScope drv args; + callPackage = stdenv.lib.callPackageWith (pkgs // self); in import ./hex-packages.nix { inherit pkgs stdenv callPackage; |