Skip to content

Nix path removed /nix/store/ prefix #57

Description

@whs-dot-hk

Hi @blaggacao

For latest version of nix e.g. 2.32.1 install with https://github.com/cachix/install-nix-action

out="$(nix derivation show "$actionDrv^out" | jq -r '.[].outputs.out.path')"

the path no longer prefix with /nix/store/

function _run() { . "$out"; }

therefore above line will show No such file or directory error

Activity

  1. nrdxp commented on Oct 29, 2025

    @nrdxp
    Contributor

    any idea the underlying cause? did they change the format again? should be easy enough to fix, but we'll have to detect the version so we don't breaker older ones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions