copumpkin / nixpkgs

Nix Packages collection
Other
9 stars 1 forks source link

attribute 'platforms' missing in pam_ldap package #63

Open jml opened 9 years ago

jml commented 9 years ago

Trying to set up Nix on OS X 10.10, following the instructions on the wiki.

When trying to install hello, I get the following:

jml@tenacity:~
$ nix-env -i hello --show-trace
error: while evaluating ‘callPackageWith’ at "/Users/jml/nixpkgs/lib/customisation.nix":104:35, called from "/Users/jml/nixpkgs/pkgs/top-level/all-packages.nix":9110:14:
while evaluating ‘makeOverridable’ at "/Users/jml/nixpkgs/lib/customisation.nix":56:24, called from "/Users/jml/nixpkgs/lib/customisation.nix":106:5:
while evaluating anonymous function at "/Users/jml/nixpkgs/pkgs/os-specific/linux/pam_ldap/default.nix":1:1, called from "/Users/jml/nixpkgs/lib/customisation.nix":58:12:
while evaluating ‘mkDerivation’ at "/Users/jml/nixpkgs/pkgs/stdenv/generic/default.nix":87:18, called from "/Users/jml/nixpkgs/pkgs/os-specific/linux/pam_ldap/default.nix":3:1:
while evaluating ‘licenseAllowed’ at "/Users/jml/nixpkgs/pkgs/stdenv/generic/default.nix":110:24, called from "/Users/jml/nixpkgs/pkgs/stdenv/generic/default.nix":122:14:
while evaluating the attribute ‘meta.platforms’ at "/Users/jml/nixpkgs/pkgs/os-specific/linux/pam_ldap/default.nix":25:23:
attribute ‘platforms’ missing, at "/Users/jml/nixpkgs/pkgs/os-specific/linux/pam_ldap/default.nix":17:11

My NIX_PATH is set to /Users/jml/nixpkgs:nixpkgs=/Users/jml/nixpkgs:nixpkgs=/Users/jml/.nix-defexpr/channels/nixpkgs and my ~/nixpkgs directory is at 20e87501d50da6eff4ee569a87e73cd19950d6f8

jml commented 9 years ago

Using nix-env -iA hello makes this work for me. Leaving the bug open because it seems like it's actually a bug.

copumpkin commented 9 years ago

You're on the nixos/master branch?

jml commented 9 years ago

I was using the pure-darwin branch when this issue occurred.