From 35047d3322cc41491e55a2377ccb84cb614f8b32 Mon Sep 17 00:00:00 2001 From: Julien Malka <julien@malka.sh> Date: Mon, 21 Oct 2024 22:21:46 +0200 Subject: [PATCH] chore: revert to default lon expression --- lon.nix | 4 ++-- shell.nix | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) 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;