Nix-writers: Difference between revisions

imported>MrVanDalo
No edit summary
imported>Samuela
Python3: `deps` doesn't work/exist. `libraries` is the correct key.
Line 97: Line 97:
<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
writePython3 "test_python3" {
writePython3 "test_python3" {
   deps = [ pkgs.python3Packages.pyyaml ];
   libraries = [ pkgs.python3Packages.pyyaml ];
} ''
} ''
   import yaml
   import yaml
Line 112: Line 112:
<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
writePython3 "test_python3" {
writePython3 "test_python3" {
   deps = [ pkgs.python3Packages.pyyaml ];
   libraries = [ pkgs.python3Packages.pyyaml ];
   flakeIgnore = [ "E265" "E225" ];
   flakeIgnore = [ "E265" "E225" ];
} ''
} ''