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

attribute callPackage missing #29

Open
jalbstmeijer opened this issue Jul 26, 2023 · 1 comment
Open

attribute callPackage missing #29

jalbstmeijer opened this issue Jul 26, 2023 · 1 comment

Comments

@jalbstmeijer
Copy link

Hi,

Get an error when trying to show the flake

# nix flake show github:nix-community/NixNG
github:nix-community/NixNG/3cba1cfa9cfd8051333d45a60cc180907461a2dd
├───devShells
│   ├───aarch64-linux
│   │   └───default: development environment 'nix-shell'
│   ├───i686-linux
│   │   └───default: development environment 'nix-shell'

....

└───packages
    ├───aarch64-linux
    │   ├───cronie: package 'cronie'
    │   ├───pause: package 'pause-1.23.5'
error: attribute 'callPackage' missing

       at /nix/store/bc728vblkpcpc3jlxr70mfjb6r8pzifq-source/overlay/default.nix:16:16:

           15|   tinyLinux = callPackage ./tiny-linux.nix { };
           16|   runVmLinux = final.callPackage ./run-vm-linux.nix { };
             |                ^
           17|   cronie = callPackage ./cronie.nix { };
@MagicRB
Copy link
Collaborator

MagicRB commented Oct 18, 2023

I'm honestly not sure how to solve this nicely. runVmLinux needs tinyLinux but final.callPackage seems to not be a thing while prev.callPackage doesn't include it for some reason. A fix point could resolve this but the missig callPackage is weird.

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