spacepaste

  1.  
  2. # nixos-rebuild switch
  3. building Nix...
  4. building the system configuration...
  5. error: Package ‘discord-0.0.5’ in /nix/store/w631bj96k7pnxqpp3zf8hhi0wdgdxd8g-nixos-unstable-18.09pre147850.2428f5dda13/nixos-unstable/pkgs/applications/networking/instant-messengers/discord/default.nix:55 has an unfree license (‘unfree’), refusing to evaluate.
  6. a) For `nixos-rebuild` you can set
  7. { nixpkgs.config.allowUnfree = true; }
  8. in configuration.nix to override this.
  9. b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  10. { allowUnfree = true; }
  11. to ~/.config/nixpkgs/config.nix.
  12. (use '--show-trace' to show detailed location information)
  13.