Allow nonfree python packages (for torchvision)
This commit is contained in:
parent
17271d0aed
commit
7e5277f1ff
@ -1,6 +1,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
nonfree = import <nixos> { config.allowUnfree = true; };
|
||||||
unstable = import <unstable> {};
|
unstable = import <unstable> {};
|
||||||
unstable-nonfree = import <unstable> { config.allowUnfree = true; };
|
unstable-nonfree = import <unstable> { config.allowUnfree = true; };
|
||||||
emacsWithImagemagick = (unstable.emacs.override {
|
emacsWithImagemagick = (unstable.emacs.override {
|
||||||
@ -64,7 +65,7 @@ in {
|
|||||||
spice
|
spice
|
||||||
spice-gtk
|
spice-gtk
|
||||||
|
|
||||||
(python3.withPackages(ps: with ps; [
|
(nonfree.python3.withPackages(ps: with ps; [
|
||||||
ipython
|
ipython
|
||||||
pillow opencv3 torchvision
|
pillow opencv3 torchvision
|
||||||
PyGithub
|
PyGithub
|
||||||
|
Loading…
Reference in New Issue
Block a user