From 6cfde7d480f0e296a638247739df594db4fef1eb Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sat, 10 Aug 2024 17:26:38 -0500 Subject: [PATCH] syntaxes --- lib/checks.nix | 4 ++-- lib/generators.nix | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/checks.nix b/lib/checks.nix index 62d84f6..6fa7068 100644 --- a/lib/checks.nix +++ b/lib/checks.nix @@ -24,7 +24,7 @@ let # TODO: start using pipes once support lands in nixd # selfPackages = self.packages.${pkgs.system} |> attrValues; - selfPackages = (attrValues self.packages.${pkgs.system}); + selfPackages = attrValues self.packages.${pkgs.system}; in { makePackages = @@ -34,7 +34,7 @@ in # packages from overlays (with pkgs; [ swww - # nixVersions.git + nixVersions.git ]) ++ [ (flake.pkgs "roc").full diff --git a/lib/generators.nix b/lib/generators.nix index 259348a..7cec610 100644 --- a/lib/generators.nix +++ b/lib/generators.nix @@ -23,7 +23,14 @@ let # hostFiles = host: filter isNixFile (listFilesRecursive (hostPath host)); hostFiles = host: host |> hostPath |> listFilesRecursive |> filter isNixFile; - commonSpecialArgs = {inherit self inputs lib enabled;}; + commonSpecialArgs = { + inherit + self + inputs + lib + enabled + ; + }; mkIso = nixosSystem { system = "x86_64-linux";