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

nixpkgs-unstable broken on freebsd #119075

Closed
sss123next opened this issue Apr 10, 2021 · 1 comment · Fixed by #119076
Closed

nixpkgs-unstable broken on freebsd #119075

sss123next opened this issue Apr 10, 2021 · 1 comment · Fixed by #119076
Labels
0.kind: bug 6.topic: bsd Running or building packages on BSD 6.topic: stdenv Standard environment

Comments

@sss123next
Copy link

Describe the bug
nixpkgs-unstable broken on freebsd
To Reproduce

nix-channel --add https://nixos.org/channels/nixpkgs-unstable

nix-channel --update                                          
unpacking channels...
created 1 symlinks in user environment

nix-env -u
error: attribute 'override' missing, at /nix/store/4s7yf9rm9mvlshn9akzhial01a7l92dg-nixpkgs-21.05pre281594.6fc2b7ecc2a/nixpkgs/pkgs/top-level/all-packages.nix:12380:5

Expected behavior
usual nix operations

Additional context
nix built from ports tree

nix --version
nix (Nix) 2.3.10

nix-instantiate --eval --strict -E builtins.currentSystem
"x86_64-freebsd"

Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

nix-shell -p nix-info --run "nix-info -m"
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
sternenseemann added a commit to sternenseemann/nixpkgs that referenced this issue Apr 10, 2021
stdenv.cc didn't have an override attribute on FreeBSD previously,
breaking evaluation of all-packages.nix consequently.

Resolves NixOS#119075.
@sternenseemann
Copy link
Member

Reproducer on master:

$ nix-env -qaP -f /path/to/nixpkgs --argstr system x86_64-freebsd
error: attribute 'override' missing, at /home/lukas/src/nix/nixpkgs/pkgs/top-level/all-packages.nix:12387:5

@sternenseemann sternenseemann added the 6.topic: stdenv Standard environment label Apr 11, 2021
sternenseemann added a commit that referenced this issue Apr 15, 2021
stdenv.cc didn't have an override attribute on FreeBSD previously,
breaking evaluation of all-packages.nix consequently.

Resolves #119075.
@alyssais alyssais added the 6.topic: bsd Running or building packages on BSD label Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 6.topic: bsd Running or building packages on BSD 6.topic: stdenv Standard environment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants