test(tvix/glue): add builtins.storeDir regression test

Change-Id: Ib87f41b3e0d634dd76e648acfe1b3026211f947a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12619
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Jörg Thalheim <joerg@thalheim.io>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-10-14 16:06:40 +03:00 committed by flokli
parent e6b39135bc
commit 457decb790
3 changed files with 9 additions and 0 deletions

View file

View file

@ -0,0 +1 @@
{ plain = "/nix/store/vqsvbisgiqrqa1y0qljigq4ds5h38gym-dummy"; withSubPath = "/nix/store/vqsvbisgiqrqa1y0qljigq4ds5h38gym-dummy/.keep"; }

View file

@ -0,0 +1,8 @@
let
path = builtins.unsafeDiscardStringContext "${../dummy}";
storePath = builtins.storePath path;
in
{
plain = builtins.storePath path;
withSubPath = builtins.storePath (path + "/.keep");
}