You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this method wrap binaries. #152 broke my config, giving the error below. I was able to fix the error using (oldAttrs.buildInputs or []). I'm guessing the attribute is missing due to my non-standard usage, though I'm relatively new to nix so I admit I don't fully understand the underlying issue. I'll submit my fix as a PR, but I'm open to alternative solutions.
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'home-manager-generation'
whose name attribute is located at /nix/store/k5l01g2zwhysjyl5zjvg5zxnj0lyxpp1-source/pkgs/stdenv/generic/make-derivation.nix:354:7
… while evaluating attribute 'buildCommand' of derivation 'home-manager-generation'
at /nix/store/k5l01g2zwhysjyl5zjvg5zxnj0lyxpp1-source/pkgs/build-support/trivial-builders/default.nix:68:16:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
(stack trace truncated; use '--show-trace' to show the full trace)
error: attribute 'buildInputs' missing
at /nix/store/aqf7gfx4d7fz9gqnxsgmg1shs0bfvcc9-source/nixGL.nix:84:31:
83| useGLVND = true;
84| nativeBuildInputs = oldAttrs.buildInputs ++ [zstd];
| ^
85| });
The text was updated successfully, but these errors were encountered:
I am using this method wrap binaries. #152 broke my config, giving the error below. I was able to fix the error using
(oldAttrs.buildInputs or [])
. I'm guessing the attribute is missing due to my non-standard usage, though I'm relatively new to nix so I admit I don't fully understand the underlying issue. I'll submit my fix as a PR, but I'm open to alternative solutions.The text was updated successfully, but these errors were encountered: