mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-25 05:26:47 +02:00
6 lines
218 B
Nix
6 lines
218 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
|
|
|