diff --git a/lon.lock b/lon.lock index c4a5169..43a2279 100644 --- a/lon.lock +++ b/lon.lock @@ -11,6 +11,16 @@ "url": "https://github.com/ryantm/agenix/archive/96e078c646b711aee04b82ba01aefbff87004ded.tar.gz", "hash": "sha256-bHCFgGeu8XjWlVuaWzi3QONjDW3coZDqSHvnd4l7xus=" }, + "artiflakery": { + "type": "GitHub", + "fetchType": "tarball", + "owner": "JulienMalka", + "repo": "artiflakery", + "branch": "main", + "revision": "485ef296b4f9ff7bb6edb9ff5fe525a04e422adc", + "url": "https://github.com/JulienMalka/artiflakery/archive/485ef296b4f9ff7bb6edb9ff5fe525a04e422adc.tar.gz", + "hash": "sha256-fADYwTMZuO4S1uH3RSYc9wowvGoa/55mYvG47NmVvbc=" + }, "buildbot-nix": { "type": "GitHub", "fetchType": "tarball", @@ -127,9 +137,9 @@ "owner": "nikstur", "repo": "lon", "branch": "main", - "revision": "ad3bc97747c651e23fbc12c70a5849d3d8e9fdf4", - "url": "https://github.com/nikstur/lon/archive/ad3bc97747c651e23fbc12c70a5849d3d8e9fdf4.tar.gz", - "hash": "sha256-MgMDxS9xiiSkL/KsCTxLrr9wd9n1S/wq4lrA/NSyqBE=" + "revision": "d17d0fe04fb7ce15f0e2e3521b97906514ec1857", + "url": "https://github.com/nikstur/lon/archive/d17d0fe04fb7ce15f0e2e3521b97906514ec1857.tar.gz", + "hash": "sha256-3wppxmmCMoizu6aemTt2wtakXlPI4E68odEVxU2r2Uc=" }, "nix-index-database": { "type": "GitHub", diff --git a/lon.nix b/lon.nix index 5f320ea..a88d448 100644 --- a/lon.nix +++ b/lon.nix @@ -23,12 +23,24 @@ let fetchSource = args@{ fetchType, ... }: if fetchType == "git" then - builtins.fetchGit { - url = args.url; - ref = args.branch; - rev = args.revision; - narHash = args.hash; - } + builtins.fetchGit ( + { + url = args.url; + ref = args.branch; + rev = args.revision; + narHash = args.hash; + submodules = args.submodules; + } + // ( + if args ? lastModified then + { + inherit (args) lastModified; + shallow = true; + } + else + { } + ) + ) else if fetchType == "tarball" then builtins.fetchTarball { url = args.url;