Packaging/Python: Difference between revisions

m Testing out a module in a Python shell: fix "xacro = " -> "mypackage = "
Line 33: Line 33:
         pkgs = import nixpkgs { inherit system; };
         pkgs = import nixpkgs { inherit system; };
         # replace ./derivation.nix with the path (relative to this file) to your derivation
         # replace ./derivation.nix with the path (relative to this file) to your derivation
         xacro = pkgs.python3Packages.callPackage ./derivation.nix {
         mypackage = pkgs.python3Packages.callPackage ./derivation.nix {
           lib = pkgs.lib;
           lib = pkgs.lib;
         };
         };