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-build -A bundle error attribute 'lib' missing #213

Open
srghma opened this issue Jun 10, 2023 · 0 comments
Open

nix-build -A bundle error attribute 'lib' missing #213

srghma opened this issue Jun 10, 2023 · 0 comments

Comments

@srghma
Copy link

srghma commented Jun 10, 2023

 ~/projects/jumpcutter   master ±✚  nix-build -A bundle --show-trace
error: attribute 'lib' missing

       at /nix/store/sxr7i1w7jc28w5x8pbpng516zwhjqv5y-source/default.nix:38:21:

           37|   # TODO: eventually should this go in nixpkgs?
           38|   nix-user-chroot = stdenv.lib.makeOverridable stdenv.mkDerivation {
             |                     ^
           39|     name = "nix-user-chroot-2c52b5f";

       … while evaluating the attribute 'text' of the derivation 'startup'

       at /nix/store/a1s38prxjhdjayap276mcwrq02c803y5-nixos-22.11/nixos/pkgs/stdenv/generic/make-derivation.nix:270:7:

          269|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          270|       name =
             |       ^
          271|         let

       … while evaluating the attribute 'exportReferencesGraph' of the derivation 'maketar'

       at /nix/store/a1s38prxjhdjayap276mcwrq02c803y5-nixos-22.11/nixos/pkgs/stdenv/generic/make-derivation.nix:270:7:

          269|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          270|       name =
             |       ^
          271|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'arx'

       at /nix/store/a1s38prxjhdjayap276mcwrq02c803y5-nixos-22.11/nixos/pkgs/stdenv/generic/make-derivation.nix:270:7:

          269|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          270|       name =
             |       ^
          271|         let

but nix-build without argument works

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

1 participant