这是indexloc提供的服务,不要输入任何密码
Skip to content

Can not evaluate input if no lock-file #79

@LittleAmara

Description

@LittleAmara

Hey, I don't know if it is the desired behaviour but if an input of a flake does not have a lock file then nil will throw this (see image below).
image

A simple flake to reproduce:

{
  description = "A very basic flake";
  inputs = {
    poetry2nix.url = "github:nix-community/poetry2nix";
  };

  outputs = { self, nixpkgs }: {

    packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;

    packages.x86_64-linux.default = self.packages.x86_64-linux.hello;

  };
}

Edit:
I'm on version 2023-05-02

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-flakeArea: flake relatedC-bugCatagory: bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions