Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix run on a --file with --inputs-from errors with access to absolute path /home #12108

Open
2 tasks done
Poly2it opened this issue Dec 26, 2024 · 0 comments
Open
2 tasks done
Labels

Comments

@Poly2it
Copy link

Poly2it commented Dec 26, 2024

Describe the bug

Steps To Reproduce

  1. nix run --file my_file.nix --inputs-from ../my_flake

Example my_file.nix:

{ ... }:

{}

Example ../my_flake/flake.nix:

{
  outputs = { ... }: {};
}

Expected behavior

There should be no impurities.

Metadata

nix (Nix) 2.24.8

Additional context

Without --inputs-from, the error does not occur.

Checklist


Add 👍 to issues you find important.

@Poly2it Poly2it added the bug label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant