From 0abc5cc90f399121d8d32b5766a167c354bcafb7 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Mon, 7 Apr 2025 22:29:56 +0200 Subject: [PATCH] outputs: expose updateList --- outputs.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/outputs.nix b/outputs.nix index 41e50d6..4146c0f 100644 --- a/outputs.nix +++ b/outputs.nix @@ -73,6 +73,7 @@ self = { builtins.attrValues builtins.listToAttrs ]; + updateList = import ./update-list.nix self; # FIXME: currently impure # NOTE: to run, you need to evaluate outputs.nix instead of default.nix # nix-shell outputs.nix -A update @@ -80,9 +81,7 @@ self = { updateScript = (self.packagesForSystem (builtins.currentSystem)).den-update-script; in updateScript { path = ""; - packages = lib.pipe ./update-list.nix [ - import - (x: x self) + packages = lib.pipe self.updateList [ lib.attrsToList (lib.imap1 (i: {name, value}: { name = builtins.toString i;