diff options
author | Profpatsch <mail@profpatsch.de> | 2018-01-03 23:11:21 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2018-01-03 23:13:50 +0100 |
commit | 319722113e92e2bad3aeb9278f2f9c4d5b7db425 (patch) | |
tree | 895b0f62f381c3a178b259542629c94eef2ffae1 /lib/generators.nix | |
parent | 93d3561b5741ffe3ec197b7f1950a86343d0e7b6 (diff) |
lib/generators: abort on pattern match failure
Diffstat (limited to 'lib/generators.nix')
-rw-r--r-- | lib/generators.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators.nix b/lib/generators.nix index b27ab485f41e..f207033c9554 100644 --- a/lib/generators.nix +++ b/lib/generators.nix @@ -130,6 +130,6 @@ rec { (name: value: "${toPretty args name} = ${toPretty args value};") v) + " }" - else "toPretty: should never happen (v = ${v})"; + else abort "toPretty: should never happen (v = ${v})"; } |