about summary refs log tree commit diff
path: root/tests/lang/lib.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-11-14T14·10+0100
committerEelco Dolstra <edolstra@gmail.com>2017-11-14T14·10+0100
commit2c39e4eca000037f704ad81d589f60964f6f13a7 (patch)
treed8d737de7dc000eb0c14114696360b193349e122 /tests/lang/lib.nix
parent5773d667ee26efb4b977b9109da509d46d8378b5 (diff)
Revert "Don't parse "x:x" as a URI"
This reverts commit f90f660b243866b8860eeb24cc4a345d32cc7ce7.

This broke Hydra's release.nix, which contained

  preCheck = ''export LOGNAME=${LOGNAME:-foo}'';
Diffstat (limited to 'tests/lang/lib.nix')
-rw-r--r--tests/lang/lib.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/lib.nix b/tests/lang/lib.nix
index 1c63b2f31d67..028a538314b7 100644
--- a/tests/lang/lib.nix
+++ b/tests/lang/lib.nix
@@ -49,7 +49,7 @@ rec {
     if comp (head list2) (head list1) then [(head list2)] ++ mergeLists comp list1 (tail list2) else
     [(head list1)] ++ mergeLists comp (tail list1) list2;
 
-  id = x:x; # sic
+  id = x: x;
 
   const = x: y: x;