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

Unable to see the dependencies of pandoc flake #58

Closed
disbolog opened this issue May 3, 2023 · 1 comment
Closed

Unable to see the dependencies of pandoc flake #58

disbolog opened this issue May 3, 2023 · 1 comment

Comments

@disbolog
Copy link

disbolog commented May 3, 2023

I am unable to use the tool with the pandoc development flake.

Here's the error message:

user@host ~/pandoc (main) [1]> nix-tree --derivation '.#'

error: attribute 'pandoc' missing

       at /nix/store/rw4gbrv5y2m59am2m1zc253hv1mbw1fs-source/flake.nix:42:28:

           41|         # Default package.
           42|         packages.default = self'.packages.pandoc;
             |                            ^
           43|
(use '--show-trace' to show detailed location information)
nix-tree: Received ExitFailure 1 when running
Raw command: nix path-info --json --derivation --extra-experimental-features "nix-command flakes" .#

Here's the nix-info output:

 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.26, NixOS, 23.05 (Stoat), 23.05.20230430.da45bf6`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(root): `""`
 - nixpkgs: `not found`

And here are the steps to reproduce:

git clone https://github.com/jgm/pandoc
cd pandoc
nix-tree --derivation '.#'

To mention it, this is something I try in order to fix jgm/pandoc#8818. There's also a nixpkgs update request for pandoc: NixOS/nixpkgs#221165

@utdemir
Copy link
Owner

utdemir commented May 24, 2023

I think this is an issue on the pandoc side (your linked issue), if the Nix evaluation errors out, there's nothing nix-tree can do.

I'm closing this issue, but please reopen it if the issue persist after the upstream issue is fixed! :)

@utdemir utdemir closed this as completed May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants