remove python2
This commit is contained in:
@@ -24,9 +24,6 @@ in {
|
||||
perl = pkgs.writePerl "hello-world" {} ''
|
||||
print "hello world\n";
|
||||
'';
|
||||
python2 = pkgs.writePython2 "hello-world" {} ''
|
||||
print "hello world"
|
||||
'';
|
||||
python3 = pkgs.writePython3 "hello-world" {} ''
|
||||
print("hello world")
|
||||
'';
|
||||
|
||||
@@ -24,15 +24,6 @@ in {
|
||||
use boolean;
|
||||
print "Howdy!\n" if true;
|
||||
'';
|
||||
python2 = pkgs.writePython2 "simple.py" { deps = [ pkgs.python2Packages.pyyaml ]; } ''
|
||||
import yaml
|
||||
|
||||
print yaml.load("""
|
||||
- some
|
||||
- random
|
||||
- variables
|
||||
""")
|
||||
'';
|
||||
python3 = pkgs.writePython3 "simple.py" { deps = [ pkgs.python3Packages.pyyaml ]; } ''
|
||||
import yaml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user