mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
lib/fetchers: update code for Internet Archive fetcher
This commit is contained in:
parent
96ce8b83a8
commit
4d138fd2be
@ -17,7 +17,7 @@ let
|
|||||||
|
|
||||||
args' = lib.removeAttrs args [ "id" "file" "formats" ] // {
|
args' = lib.removeAttrs args [ "id" "file" "formats" ] // {
|
||||||
inherit url hash name;
|
inherit url hash name;
|
||||||
} // lib.optionalAttrs isFormatIndiciated { inherit hash; };
|
};
|
||||||
|
|
||||||
fetcher =
|
fetcher =
|
||||||
if isFormatIndiciated
|
if isFormatIndiciated
|
||||||
|
Loading…
Reference in New Issue
Block a user