1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

tweak url parsing; add test case

This commit is contained in:
Brian Camacho 2024-11-07 23:29:39 -05:00
parent 4bdfeab5f4
commit 741a54df8f
129 changed files with 910 additions and 99 deletions

View file

@ -1,7 +1,7 @@
{
# mostly copied from https://github.com/NixOS/nix/blob/358c26fd13a902d9a4032a00e6683571be07a384/tests/nixos/fetch-git/test-cases/fetchTree-shallow/default.nix#L1
# ty @DavHau
description = "fetchGit with lfs=true smudges LFS pointers";
description = "fetchGit smudges LFS pointers iff lfs=true";
script = ''
# purge nix git cache to make sure we start with a clean slate
client.succeed("rm -rf ~/.cache/nix")