summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2021-08-11 15:50:33 +0200
committerSilvan Mosberger <contact@infinisil.com>2021-08-11 15:52:30 +0200
commit307c0237d7bfce7e4d84c65ec16a7af266809f0e (patch)
tree701c7abe5a1790a7b99fe4eabbfee31ed771d88b /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent6d96191fe5a2c03abb5023c5c62dfdee8d1066dc (diff)
lib.generators: Handle no drvPath in toPretty
Previously, if a derivation without a `drvPath` was handled, an error would be thrown: nix-repl> lib.generators.toPretty {} { type = "derivation"; } error: attribute 'drvPath' missing, at /home/infinisil/src/nixpkgs/lib/generators.nix:251:24 With this commit it doesn't anymore: nix-repl> lib.generators.toPretty {} { type = "derivation"; } "<derivation ???>" This matches what `nix repl` outputs: nix-repl> { type = "derivation"; } «derivation ???»
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions