Skip to content

Instantly share code, notes, and snippets.

@mjhoy
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjhoy/1c95dffb6c1814b6a961 to your computer and use it in GitHub Desktop.
Save mjhoy/1c95dffb6c1814b6a961 to your computer and use it in GitHub Desktop.
nix output
$ nix-env -iA nixpkgs.haskell-ng.packages.ghc7101
[.....lots of "installing" lines....]
installing ‘haskell-zoneinfo-0.5’
installing ‘haskell-zoom-0.1.0.1’
installing ‘haskell-zoom-cache-1.2.1.6’
installing ‘haskell-zoom-cache-pcm-0.3.0.1’
installing ‘zoom-cache-sndfile-1.1.0.1’
installing ‘zot-0.0.2’
installing ‘zsh-battery-0.2’
installing ‘ztail-1.1’
error: Package ‘gtkglext-1.2.0’ in ‘/nix/store/mxgi269q2wx8wr9z2yfy48d7lqz9r998-nixpkgs-15.06pre64312.dbf1e0f/nixpkgs/pkgs/desktops/gnome-2/platform/gtkglext/default.nix:20’ is not supported on ‘x86_64-darwin’, refusing to evaluate.
For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
For `nix-env` you can add
{ allowBroken = true; }
to ~/.nixpkgs/config.nix.
(use ‘--show-trace’ to show detailed location information)
$ nix-env -iA nixpkgs.haskell-ng.packages.ghc7101 --show-trace
[.....]
installing ‘haskell-zoom-0.1.0.1’
installing ‘haskell-zoom-cache-1.2.1.6’
installing ‘haskell-zoom-cache-pcm-0.3.0.1’
installing ‘zoom-cache-sndfile-1.1.0.1’
installing ‘zot-0.0.2’
installing ‘zsh-battery-0.2’
installing ‘ztail-1.1’
error: while evaluating the attribute ‘propagatedNativeBuildInputs’ of the derivation ‘haskell-Bang-0.1.1.0’ at /nix/store/mxgi269q2wx8wr9z2yfy48d7lqz9r998-nixpkgs-15.06pre64312.dbf1e0f/nixpkgs/pkgs/development/haskell-modules/generic-builder.nix:126:3:
while evaluating ‘markBrokenVersion’ at /nix/store/mxgi269q2wx8wr9z2yfy48d7lqz9r998-nixpkgs-15.06pre64312.dbf1e0f/nixpkgs/pkgs/development/haskell-modules/lib.nix:38:32, called from /nix/store/mxgi269q2wx8wr9z2yfy48d7lqz9r998-nixpkgs-15.06pre64312.dbf1e0f/nixpkgs/pkgs/development/haskell-modules/configuration-common.nix:670:11:
assertion failed at /nix/store/mxgi269q2wx8wr9z2yfy48d7lqz9r998-nixpkgs-15.06pre64312.dbf1e0f/nixpkgs/pkgs/development/haskell-modules/lib.nix:38:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment