Skip to content

Does not work with relative flake inputs #42

@Alxandr

Description

@Alxandr

I have a flake (available at https://github.com/YoloDev/yoloproj) which I'm trying to use to make my other flakes smaller. Basically, common project configuration for dev-shells and similar. It uses "sub-flakes", and those seem to break devour-flake. If I do nix build github:srid/devour-flake -L --no-link --print-out-paths --override-input flake github:YoloDev/yoloproj, it works, but nix build github:srid/devour-flake -L --no-link --print-out-paths --override-input flake github:YoloDev/nixground (which depends on yoloproj) gives me the following errors:

error:
       … while updating the lock file of flake 'github:srid/devour-flake/e65d15fd4ef46dbde90ac59be581b2a286c35d0f?narHash=sha256-peb6VlxIDoqaHkGPanQ35p8SXy9t54NIJ8XJHgMSuFg%3D'

       … while updating the flake input 'flake'

       … while updating the flake input 'flake/yoloproj'

       … while updating the flake input 'flake/yoloproj/dev'

       error: path '/nix/store/9sx3wliqrxf4wvxmakxrs04nj5ndvrs4-source/dev/flake.nix' does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions