e2d71bd186
This reverts commit 4ea9707591
.
It causes an infinite loop in Nixpkgs evaluation,
e.g. "nix-instantiate -A hello" hung.
PR #1886.
9 lines
238 B
Nix
9 lines
238 B
Nix
with builtins;
|
|
|
|
[ (replaceStrings ["o"] ["a"] "foobar")
|
|
(replaceStrings ["o"] [""] "foobar")
|
|
(replaceStrings ["oo"] ["u"] "foobar")
|
|
(replaceStrings ["oo" "a"] ["a" "oo"] "foobar")
|
|
(replaceStrings ["oo" "oo"] ["u" "i"] "foobar")
|
|
]
|