diff options
author | aszlig <aszlig@nix.build> | 2018-04-29 15:28:33 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-04-29 15:36:56 +0200 |
commit | 97adb03a9e542c9966712b9d88c84b4ed6d1a6b6 (patch) | |
tree | 5059d07f0e1dbdce41783ebb21da0e1d0ddb3205 /pkgs/applications/editors | |
parent | 0e1147d13786c56ac30762d945130414eea479a7 (diff) | |
download | nixlib-97adb03a9e542c9966712b9d88c84b4ed6d1a6b6.tar nixlib-97adb03a9e542c9966712b9d88c84b4ed6d1a6b6.tar.gz nixlib-97adb03a9e542c9966712b9d88c84b4ed6d1a6b6.tar.bz2 nixlib-97adb03a9e542c9966712b9d88c84b4ed6d1a6b6.tar.lz nixlib-97adb03a9e542c9966712b9d88c84b4ed6d1a6b6.tar.xz nixlib-97adb03a9e542c9966712b9d88c84b4ed6d1a6b6.tar.zst nixlib-97adb03a9e542c9966712b9d88c84b4ed6d1a6b6.zip |
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/applications/editors')
0 files changed, 0 insertions, 0 deletions