mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-08-02 11:12:16 +02:00
chore: update deps
This commit is contained in:
parent
1f8eff3355
commit
e2f6dc50c1
2 changed files with 31 additions and 9 deletions
24
lon.nix
24
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue