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

Can't install Go on Mac OS X (thinks it's Linux) #256

Closed
dysinger opened this issue Jan 11, 2013 · 3 comments
Closed

Can't install Go on Mac OS X (thinks it's Linux) #256

dysinger opened this issue Jan 11, 2013 · 3 comments
Labels
6.topic: darwin Running or building packages on Darwin

Comments

@dysinger
Copy link
Contributor

tim@Tims-MacBook-Air:/src/nixos/nixbox% uname -a
Darwin Tims-MacBook-Air.local 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012; root:xnu-2050.20.9
2/RELEASE_X86_64 x86_64

tim@Tims-MacBook-Air:~/src/nixos/nixbox% nix-channel --update
downloading Nix expressions from `http://nixos.org/releases/nixpkgs/nixpkgs-1.0pre23270_6f1aad7/nixexprs.tar.bz2'... % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
unpacking channels...

tim@Tims-MacBook-Air:~/src/nixos/nixbox% nix-env --version
nix-env (Nix) 1.3

tim@Tims-MacBook-Air:~/src/nixos/nixbox% nix-env --show-trace -iA nixpkgs.go
installing go-1.0.3'error: while evaluating the builtin functionderivationStrict':
while instantiating the derivation named go-1.0.3' at/nix/store/a2klq90rchkb459m0pbkwasf0yad6asy-nixpkgs-1.0pre23270_6f1aad7/nixpkgs/pkgs/development/compilers/go/default.nix:10:3':
while evaluating the derivation attribute buildNativeInputs' at/nix/store/a2klq90rchkb459m0pbkwasf0yad6asy-nixpkgs-1.0pre23270_6f1aad7/nixpkgs/pkgs/stdenv/generic/default.nix:67:15':
while evaluating the builtin function getAttr': while evaluating the builtin functionderivationStrict':
while instantiating the derivation named glibc-2.13' at/nix/store/a2klq90rchkb459m0pbkwasf0yad6asy-nixpkgs-1.0pre23270_6f1aad7/nixpkgs/pkgs/development/libraries/glibc/2.13/common.nix:154:3':while evaluating the derivation attribute kernelHeaders' at/nix/store/a2klq90rchkb459m0pbkwasf0yad6asy-nixpkgs-1.0pre23270_6f1aad7/nixpkgs/pkgs/development/libraries/glibc/2.13/default.nix:21:12':while evaluating the function at /nix/store/a2klq90rchkb459m0pbkwasf0yad6asy-nixpkgs-1.0pre23270_6f1aad7/nixpkgs/pkgs/lib/customisation.nix:98:35': while evaluating the function at/nix/store/a2klq90rchkb459m0pbkwasf0yad6asy-nixpkgs-1.0pre23270_6f1aad7/nixpkgs/pkgs/lib/customisation.nix:59:24':
while evaluating the builtin function isAttrs': while evaluating the function at/nix/store/a2klq90rchkb459m0pbkwasf0yad6asy-nixpkgs-1.0pre23270_6f1aad7/nixpkgs/pkgs/os-specific/linux/kernel-headers/default.nix:1:1':assertion failed at `/nix/store/a2klq90rchkb459m0pbkwasf0yad6asy-nixpkgs-1.0pre23270_6f1aad7/nixpkgs/pkgs/os-specific/linux/kernel-headers/default.nix:3:1'

@viric
Copy link
Member

viric commented Jan 17, 2013

Ah sorry, I don't have access to any Macintosh. If you can provide a patch for go-on-macintosh, please send it.

edolstra pushed a commit to edolstra/nixpkgs that referenced this issue Oct 1, 2013
I tested the previous "version" and found my environment to be exactly the same.

Let's start discussing possible extensions/improvements somewhere else. For now it's a nice improvement.
@shlevy
Copy link
Member

shlevy commented Apr 4, 2014

@dysinger Is this still broken? If so it should probably be fixed as part of #1485

@shlevy shlevy added this to the 14.10 milestone Apr 4, 2014
@shlevy shlevy added the darwin label Apr 5, 2014
@shlevy shlevy removed this from the 14.10 milestone Apr 5, 2014
@gridaphobe
Copy link
Contributor

go builds fine on master with the newer darwin stdenv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

4 participants