Advertisement
Guest User

Untitled

a guest
May 7th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. $ sudo nixos-rebuild switch
  2. building Nix...
  3. building the system configuration...
  4. downloading ‘https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz’... [10088/11731 KiB, 9902.8 KiB/s]
  5. unpacking ‘https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz’...
  6. error: Package ‘plex-1.5.5.3634’ in ‘/nix/store/ijd06p153j0ql6pf3wb7im7hqgp9pj43-nixos-unstable.tar.gz/pkgs/servers/plex/default.nix:78’ has an unfree license (‘unfree’), refusing to evaluate.
  7.  
  8. a) For `nixos-rebuild` you can set
  9. { nixpkgs.config.allowUnfree = true; }
  10. in configuration.nix to override this.
  11.  
  12. b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  13. { allowUnfree = true; }
  14. to ~/.config/nixpkgs/config.nix.
  15.  
  16. (use ‘--show-trace’ to show detailed location information)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement