mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 06:56:14 +02:00
7 lines
213 B
Nix
7 lines
213 B
Nix
|
let s = "foo ${builtins.substring 33 100 (baseNameOf ./eval-okay-context.nix)} bar";
|
||
|
in
|
||
|
if s == "foo eval-okay-context.nix bar"
|
||
|
then abort "context not discarded"
|
||
|
else builtins.unsafeDiscardStringContext s
|
||
|
|