diff options
author | lassulus <lassulus@lassul.us> | 2022-12-12 15:36:00 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-12-12 15:39:48 +0100 |
commit | 0dfe1e1d870168c5b8f46c26f5fdb8b55de61930 (patch) | |
tree | f6a63057f4e0619863429ac2cd455a0716a78839 /examples/simple.nix | |
parent | f65c77bdcc58be2081a0ffbda849289c5191b5e8 (diff) |
remove python2
Diffstat (limited to 'examples/simple.nix')
-rw-r--r-- | examples/simple.nix | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/simple.nix b/examples/simple.nix index 55ccedc..4ff3d9e 100644 --- a/examples/simple.nix +++ b/examples/simple.nix @@ -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 |