make pythonPackages into lambda instead of path
This commit is contained in:
parent
0644371745
commit
abedd7aa03
1 changed files with 8 additions and 2 deletions
10
default.nix
10
default.nix
|
@ -1,6 +1,10 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
with pkgs;
|
||||
let
|
||||
myPythonPackages = import ./pkgs/python-pkgs;
|
||||
myPython3Packages = myPythonPackages { callPackage = python3Packages.callPackage; };
|
||||
in
|
||||
rec {
|
||||
lib = import ./lib { inherit pkgs; };
|
||||
modules = import ./modules;
|
||||
|
@ -11,12 +15,14 @@ rec {
|
|||
|
||||
hosts = import ./hosts;
|
||||
|
||||
pythonPackages = ./pkgs/python-pkgs;
|
||||
pythonPackages = myPythonPackages;
|
||||
|
||||
tubslatex = callPackage ./pkgs/tubslatex { };
|
||||
keys = callPackage ./pkgs/keys { };
|
||||
homePage = callPackage ./pkgs/homePage { };
|
||||
deploy = callPackage ./pkgs/deploy.nix { };
|
||||
recipemd = python3.pkgs.toPythonApplication (python3Packages.callPackage ./pkgs/python-pkgs/recipemd { });
|
||||
|
||||
recipemd = python3Packages.toPythonApplication myPython3Packages.recipemd;
|
||||
|
||||
scripts = callPackage ./pkgs/scripts.nix { };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue