diff --git a/default.nix b/default.nix --- a/default.nix +++ b/default.nix @@ -24,12 +24,19 @@ args@ , doCheck ? false , ... }: +let pkgs_ = (import {}); in let # Use nixpkgs from args or import them. We use this indirect approach # through args to be able to use the name `pkgs` for our customized packages. # Otherwise we will end up with an infinite recursion. - pkgs = args.pkgs or (import { }); + pkgs = args.pkgs or (import { + overlays = [ + (import ./pkgs/overlays.nix) + ]; + inherit (pkgs_) + system; + }); # Works with the new python-packages, still can fallback to the old # variant. diff --git a/pkgs/overlays.nix b/pkgs/overlays.nix new file mode 100755 --- /dev/null +++ b/pkgs/overlays.nix @@ -0,0 +1,3 @@ +self: super: { + +} diff --git a/shell.nix b/shell.nix --- a/shell.nix +++ b/shell.nix @@ -14,7 +14,6 @@ let enterprise-ce = import ./default.nix { inherit - pkgs pythonPackages doCheck; };