diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-01-29 14:53:38 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-01-29 14:53:38 +0100 |
commit | e897e3945f82a47de363935116d47010f50451c8 (patch) | |
tree | 0fb660146dd631c5b70c38d4498229c61cb25bcc | |
parent | feat(by-name-overlay): Provide a toggle to return relative paths (diff) | |
download | nix-library-e897e3945f82a47de363935116d47010f50451c8.zip |
test(shards_relative): Init
-rw-r--r-- | tests/shards_relative/by-name/em/empty/file.other | 0 | ||||
-rw-r--r-- | tests/shards_relative/by-name/fi/first/file.nix | 0 | ||||
-rw-r--r-- | tests/shards_relative/by-name/fi/first/other.nix | 0 | ||||
-rw-r--r-- | tests/shards_relative/by-name/se/second/file.nix | 0 | ||||
-rw-r--r-- | tests/shards_relative/by-name/se/second/nothing.lix | 0 | ||||
-rw-r--r-- | tests/shards_relative/by-name/th/third/file.nix | 0 | ||||
-rw-r--r-- | tests/shards_relative/by-name/tripwire.test | 0 | ||||
-rw-r--r-- | tests/shards_relative/test.nix | 9 |
8 files changed, 9 insertions, 0 deletions
diff --git a/tests/shards_relative/by-name/em/empty/file.other b/tests/shards_relative/by-name/em/empty/file.other new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/shards_relative/by-name/em/empty/file.other diff --git a/tests/shards_relative/by-name/fi/first/file.nix b/tests/shards_relative/by-name/fi/first/file.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/shards_relative/by-name/fi/first/file.nix diff --git a/tests/shards_relative/by-name/fi/first/other.nix b/tests/shards_relative/by-name/fi/first/other.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/shards_relative/by-name/fi/first/other.nix diff --git a/tests/shards_relative/by-name/se/second/file.nix b/tests/shards_relative/by-name/se/second/file.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/shards_relative/by-name/se/second/file.nix diff --git a/tests/shards_relative/by-name/se/second/nothing.lix b/tests/shards_relative/by-name/se/second/nothing.lix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/shards_relative/by-name/se/second/nothing.lix diff --git a/tests/shards_relative/by-name/th/third/file.nix b/tests/shards_relative/by-name/th/third/file.nix new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/shards_relative/by-name/th/third/file.nix diff --git a/tests/shards_relative/by-name/tripwire.test b/tests/shards_relative/by-name/tripwire.test new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/shards_relative/by-name/tripwire.test diff --git a/tests/shards_relative/test.nix b/tests/shards_relative/test.nix new file mode 100644 index 0000000..1e91234 --- /dev/null +++ b/tests/shards_relative/test.nix @@ -0,0 +1,9 @@ +let + nixLib = import ../../default.nix {}; +in + nixLib.mkByName { + useShards = true; + baseDirectory = ./by-name; + fileName = "file.nix"; + relativePaths = true; + } |