Skip to content

[flakes] NIX_PATH impurity #144

@roberth

Description

@roberth

Running

$ NIX_PATH= nixops deploy -d nixops-example-dummy --build-only

I get error: file 'nixpkgs/nixos/modules/virtualisation/ec2-amis.nix' was not found in the Nix search path (add it using $NIX_PATH or -I), even without actually using nixops-aws; module system import resolution must be able to get all imports.

This is an impurity, which is a bug since flakes. It should be taken from network.nixpkgs instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions