summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-04-29 15:28:33 +0200
committeraszlig <aszlig@nix.build>2018-04-29 15:36:56 +0200
commit97adb03a9e542c9966712b9d88c84b4ed6d1a6b6 (patch)
tree5059d07f0e1dbdce41783ebb21da0e1d0ddb3205 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent0e1147d13786c56ac30762d945130414eea479a7 (diff)
nixos/tests/predictable-interface-names: Refactor
The Nix expression here is really hard to read with multiple (and unnecessarily) nested lets and it also generates attribute names based on the derivation generated by makeTest, which will result in these attribute names: * vm-test-run-predictableInterfaceNames * vm-test-run-predictableInterfaceNames-with-networkd * vm-test-run-unpredictableInterfaceNames * vm-test-run-unpredictableInterfaceNames-with-networkd With the refactor the attribute names are now: * predictable * predictableNetworkd * unpredictable * unpredictableNetworkd So now the code is even shorter and IMHO slightly more readable. Signed-off-by: aszlig <aszlig@nix.build> Cc: @symphorien, @fpletz, @adisbladis
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions