Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow pip drvs to access config from their parent drv #746

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 17, 2023

  1. feat: allow pip drvs to access config from their parent drv

    I'm doing custom builds from editable installs in a meta-repo.
    
    To get the dirty editable path of a dependency drv, I'd need this patch, to be able to do something like:
    
    ```nix
    {config, ...}:
    let
      inherit (config.mkDerivation.passthru) topConfig;
      fullRelPath = topConfig.lock.content.fetchPipMetadata.sources.${config.name}.path;
    in ...
    ```
    
    @moduon MT-1075
    yajo committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    78d47ef View commit details
    Browse the repository at this point in the history