1
0

Allow nonfree python packages (for torchvision)

This commit is contained in:
dump_stack() 2020-03-19 09:32:24 +00:00
parent 0f649dc094
commit 52ff27528c
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -1,6 +1,7 @@
{ config, pkgs, ... }:
let
nonfree = import <nixos> { config.allowUnfree = true; };
unstable = import <unstable> {};
unstable-nonfree = import <unstable> { config.allowUnfree = true; };
emacsWithImagemagick = (unstable.emacs.override {
@ -64,7 +65,7 @@ in {
spice
spice-gtk
(python3.withPackages(ps: with ps; [
(nonfree.python3.withPackages(ps: with ps; [
ipython
pillow opencv3 torchvision
PyGithub