Packaging/Python: Difference between revisions

Improve flake.nix in "Testing out a module in a Python shell" (remove need to manually spell out python deps)
reintroduce comment that tells ppl to replace ./derivation.nix with the appropriate path
Line 32: Line 32:
       let
       let
         pkgs = import nixpkgs { inherit system; };
         pkgs = import nixpkgs { inherit system; };
        # replace ./derivation.nix with the path (relative to this file) to your derivation
         xacro = pkgs.python3Packages.callPackage ./derivation.nix {
         xacro = pkgs.python3Packages.callPackage ./derivation.nix {
           lib = pkgs.lib;
           lib = pkgs.lib;