-
Notifications
You must be signed in to change notification settings - Fork 25
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
error: attribute ‘bsd3’ missing #4
Comments
I remember having that problem in an older version of this project (when I bumped from one nixpkgs version to a later one). I just did a fresh checkout of this "example-nix" project on a different machine, and all the commands I tried seemed to work as I'd expect:
@mantkiew can you validate that you have the latest version of this project and try again if you don't? I moved fast, and since it was just me on this project, I didn't make the most atomic commits with very verbose commit messages. I'll likely change that habit now that more eyes are on the project. |
Yes, I am up to date with master. Cloned the repo on March 8th, pulled again on March 9th to check. I am on Ubuntu 16.04.2 and installed Nix on March 08. When I try
in less. But doing
works and produces correct |
@mantkiew the "ESC[" stuff is because I was trying to be fancy with So that aside, it sounds like everything's working, right? If I take out the "--color-output" flag on the |
@mantkiew actually, what terminal are you using? Can you run this?
I can probably make the script a touch more intelligent about colorized outputs. |
No, the I have |
I switched to default |
I wasn't able to produce your problem with In the meantime, can you try |
@mantkiew I figured out the problem and made a branch to test out the fix called "fix/4". I also threw in an attempt to fix the colorization of the less output. Let me know whether either fix works or not, and I'll merge or patch more accordingly. |
The branch For the licenses:
I am using the built-in |
@mantkiew it was kind of silly. I had a function that generated a license report assigned to an attribute called "license" and I just thought it would be more clear named "licenses" since it gave you all the licenses for all the dependencies, not just the single license for the project. Anyway, that rename overrode a pre-existing attribute named "licenses" that had all the licenses themselves as values. I guess if Nix had a row-polymorphic type system, I'd have caught this, because the type of the value assigned to the "licenses" attribute changed from a set to a function. It just didn't break because my setting of "allowUnfree = true" in my So the lessons I learned are
I'm going to merge these changes all into master, because As for your terminal problem. I got terminix and terminator on my computer right now, and everything is working for me. So I think I need to think more about more environment variables. I'll close this issue, and open another issue, just for the colorization of the small script. |
On Ubuntu 16.04.2 amd64
I can do build successfully with
nix-build
butnix-shell
throws this error:The text was updated successfully, but these errors were encountered: