diff --git a/lon.nix b/lon.nix index 245e3a9..5f320ea 100644 --- a/lon.nix +++ b/lon.nix @@ -24,14 +24,14 @@ let args@{ fetchType, ... }: if fetchType == "git" then builtins.fetchGit { - inherit (args) url; + url = args.url; ref = args.branch; rev = args.revision; narHash = args.hash; } else if fetchType == "tarball" then builtins.fetchTarball { - inherit (args) url; + url = args.url; sha256 = args.hash; } else diff --git a/shell.nix b/shell.nix index c9ac888..84557fa 100644 --- a/shell.nix +++ b/shell.nix @@ -16,7 +16,12 @@ let src = ./.; hooks = { - statix.enable = true; + statix = { + enable = true; + settings.ignore = [ + "**/lon.nix" + ]; + }; deadnix.enable = true; rfc101 = { enable = true;