remove python2

This commit is contained in:
2022-12-12 15:36:00 +01:00
parent f65c77bdcc
commit 0dfe1e1d87
4 changed files with 0 additions and 28 deletions

View File

@@ -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")
'';

View File

@@ -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