Skip to content

error when 'nix flake check' #9

@unazikx

Description

@unazikx
❯ nix flake check
warning: unknown flake output 'debug'
trace: evaluation warning: Nixpkgs 26.05 will be the last release to support x86_64-darwin; see https://nixos.org/manual/nixpkgs/unstable/release-notes#x86_64-darwin-26.05
error:
       … while checking flake output 'checks'

       … while checking the derivation 'checks.x86_64-linux."files/readme.md"'

       … while evaluating an expression to select 'drvPath' on it
         at «internal»:1:552:
       (stack trace truncated; use '--show-trace' to show the full trace)

       error: opening file '/nix/store/501lxp0c8chziirbx1df86bdym0iz48w-source/readme.md': No such file or directory

       note: trace involved the following derivations:
       derivation 'flake-file-check'

❯ eza -1
 lib
 machines
 modules
 persystem
 flake.lock
 flake.nix
 LICENSE
󰂺 README.md
{
  perSystem =
    {
      pkgs,
      ...
    }:
    {
      files = {
        files = [
          {
            path_ = "readme.md";
            drv =
              pkgs.writeText "README.md"
                # markdown
                ''
                  hello world
                '';
          }
        ];
      };
    };
}

what i do wrong?

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