Skip to content

nix flake show for sops-nix fails #345

@wthueb

Description

@wthueb

Describe the bug

nix flake show github:Mic92/sops-nix/8b89f44c2cc4581e402111d928869fe7ba9f7033 outputs:

error (ignored): path '/nix/store/2c8r30kz9zg8kz11ngp64ah5ya0hc011-source/dev/private/flake.nix' does not exist
error (ignored): path '/nix/store/2c8r30kz9zg8kz11ngp64ah5ya0hc011-source/dev/private/flake.nix' does not exist
error (ignored): path '/nix/store/2c8r30kz9zg8kz11ngp64ah5ya0hc011-source/dev/private/flake.nix' does not exist
error:
       … in the right operand of the update (//) operator
         at «github:Mic92/sops-nix/8b89f44»/flake.nix:105:11:
          104|           }
          105|           // (suffix-stable packages-stable)
             |           ^
          106|           // nixpkgs.lib.optionalAttrs pkgs.stdenv.isLinux tests

       … in the left operand of the update (//) operator
         at «github:Mic92/sops-nix/8b89f44»/flake.nix:106:11:
          105|           // (suffix-stable packages-stable)
          106|           // nixpkgs.lib.optionalAttrs pkgs.stdenv.isLinux tests
             |           ^
          107|           // nixpkgs.lib.optionalAttrs pkgs.stdenv.isLinux (suffix-stable tests-stable)

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: path '/nix/store/2c8r30kz9zg8kz11ngp64ah5ya0hc011-source/dev/private/flake.nix' does not exist

Steps To Reproduce

nix flake show github:Mic92/sops-nix/8b89f44c2cc4581e402111d928869fe7ba9f7033

Expected behavior

> nix run nixpkgs#nix -- flake show github:Mic92/sops-nix/8b89f44c2cc4581e402111d928869fe7ba9f7033
warning: unknown experimental feature 'external-builders'
warning: unknown setting 'eval-cores'
warning: unknown setting 'external-builders'
warning: unknown setting 'lazy-trees'
github:Mic92/sops-nix/8b89f44c2cc4581e402111d928869fe7ba9f7033?narHash=sha256-xVfPvXDf9QN3Eh9dV%2BLw6IkWG42KSuQ1u2260HKvpnc%3D
...

Metadata

Determinate Nixd daemon version: 3.15.2
Determinate Nixd client version: 3.15.2

You are running the latest version of Determinate Nix.

The following features are enabled:

 * lazy-trees
 * native-linux-builder
 * parallel-evaluation

Visit https://dtr.mn/features for more information.

nix (Determinate Nix 3.15.2) 2.33.1 (also happens with 2.33.2/main via nix run DeterminateSystems/nix-src#nix)

Additional context

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions